[PATCH] ask passphrase twice when importing SSH keys to gpg-agent
ueno at unixuser.org
Mon Oct 15 09:31:46 CEST 2007
I have tried gpg-agent with SSH support enabled for several months and
it turned out very useful. One point that makes me uneasy is that
gpg-agent asks passphrase only once for the first time import of SSH
keys. I have sometimes mistyped initial passphrases and had to remove
the key files manually.
Here is a patch which makes gpg-agent ask the initial passphrases
twice when importing SSH keys.
2007-10-15 Daiki Ueno <ueno at unixuser.org>
* command-ssh.c (reenter_compare_cb): New function; imported from
(ssh_identity_register): Ask initial passphrase twice.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2623 bytes
Desc: not available
Url : /pipermail/attachments/20071015/32615849/attachment.bin
More information about the Gnupg-devel