[PATCH] ask passphrase twice when importing SSH keys to gpg-agent
Daiki Ueno
ueno at unixuser.org
Mon Oct 15 09:31:46 CEST 2007
Hello,
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
genkey.c.
(ssh_identity_register): Ask initial passphrase twice.
Regards,
--
Daiki Ueno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpg-agent-ssh-identity-register.diff
Type: text/x-patch
Size: 2623 bytes
Desc: not available
Url : /pipermail/attachments/20071015/32615849/attachment.bin
More information about the Gnupg-devel
mailing list