Add a settings page for SSH key information/generation.

Review Request #2015 — Created Dec. 26, 2010 and submitted

Information

Review Board
release-1.5.x

Reviewers

Add a settings page for SSH key information/generation.

This introduces a page for viewing/creating a SSH key for the user
running Review Board. This makes it easier to get up and going with
SSH-backed repositories without needing access to the terminal.

If an SSH key (id_dsa or id_rsa file) exists in the .ssh directory,
information on the key will be displayed. Specifically, the key type,
how many bits, the fingerprint, and the public key.

If the SSH key does not exist, a button will be shown that, when clicked,
generates and saves a key file. The page will be updated to instantly show
the new key.

This is intended for the next 1.5 release, as it's a pain to get going
without it.
Tested creating a new RSA key when I didn't already have a key at all.

Tested creation when the .ssh directory didn't yet exist.

Tested viewing details for both a DSA key and RSA key.
Loading...