gpg-agent and putty/ssh agent bug

Marko Božiković bozho at
Thu Jul 9 10:46:39 CEST 2015

On 09/07/2015 00:59, NIIBE Yutaka wrote:
> 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.

With that in mind, I disabled scdaemon in gpg-agent settings and restarted it
(killed the scdaemon as well), but I still get the same behaviour.


More information about the Gnupg-users mailing list