Hello,
several months ago we were hitting an issue in Arch Linux where SSH keys would
somehow be corrupted on import. It was supposed to be fixed in v2.0.15:
http://lists.gnupg.org/pipermail/gnupg-users/2010-January/038045.html
I am now running v2.0.16 and had a new key to import. Which I utterly failed to
do. I am using ssh-agent emulation, and I am trying to add a new 4096 RSA key.
ssh-add ~/.ssh/id_rsa_hostname prompts for a passphrase, then the PIN entry
dialog appears and asks for a passphrase *once*. After that I try to login to a
system and after a while it asks for my passphrase. Here is a part of the log
when trying to connect:
2010-10-23 04:48:43 gpg-agent[1045] ssh handler 0x8843468 for fd 8 started
2010-10-23 04:48:43 gpg-agent[1045] received ssh request of length 1
2010-10-23 04:48:43 gpg-agent[1045] ssh request handler for request_identities
(11) started
2010-10-23 04:48:43 gpg-agent[1045] error getting default authentication keyID
of card: Not supported
2010-10-23 04:48:43 gpg-agent[1045] ssh request handler for request_identities
(11) ready
2010-10-23 04:48:43 gpg-agent[1045] sending ssh response of length 1143
2010-10-23 04:48:43 gpg-agent[1045] received ssh request of length 1165
2010-10-23 04:48:43 gpg-agent[1045] ssh request handler for sign_request (13)
started
2010-10-23 04:48:43 gpg-agent[1045] DBG: agent_get_cache
`1936C6CF51F9DB5F3A13C39B0296C37151505F1F'...
2010-10-23 04:48:44 gpg-agent[1045] ssh request handler for sign_request (13) ready
2010-10-23 04:48:44 gpg-agent[1045] sending ssh response of length 532
At this point I cut out the key from ~/.gnupg/sshcontrol and remove it from
private-keys-v1.d/ then I do another ssh-add. This time PIN entry dialog
appears *twice*, first time and then again for verification. However after
pressing return on the verification dialog gpg-agent crashes. With only this in
the logs:
2010-10-23 04:45:34 gpg-agent[854] Ohhhh jeeee: ... this is a bug
(sexp.c:1811:_gcry_sexp_sprint)