git-gui: Add a dialog that shows the OpenSSH public key.
authorAlexander Gavrilov <angavrilov@gmail.com>
Wed, 15 Oct 2008 09:28:20 +0000 (13:28 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 1 Nov 2008 23:01:23 +0000 (16:01 -0700)
commit98a6846bb8c5acb55d25d429954ec4ea2f4f320e
tree2b69482bd076a8d405bb3dc13ebf0a19592124c7
parent7f15b0027392155f5b3260bb584ba37126232bf1
git-gui: Add a dialog that shows the OpenSSH public key.

Generating a new SSH key or finding an existing one may
be a difficult task for non-technical users, especially
on Windows.

This commit adds a new dialog that shows the public key,
or allows the user to generate a new one if none were found.
Since this is a convenience/informational feature for new
users, and the dialog is mostly read-only, it is located
in the Help menu.

The command line used to invoke ssh-keygen is designed to
force it to use SSH_ASKPASS if available, or accept empty
passphrases, but _never_ wait for user response on the tty.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
lib/sshkey.tcl [new file with mode: 0644]