gpg-agent and putty/ssh agent bug

NIIBE Yutaka gniibe at
Thu Jul 9 01:59:00 CEST 2015

Sorry, my understanding of private key retrieval was wrong.

On 07/08/2015 05:51 PM, Marko Božiković wrote:
> Maybe gpg-agent thinks I am using a smartcard on the first try and then just
> gives up when it doesn't find one?

You're right.  For SSH authentication, the function card_key_available
is always called before searching other entries (of keys on files) if
not disabled by "disable-scdaemon".  Source: gnupg/agent/command-ssh.c.

More information about the Gnupg-users mailing list