[Gpg4win-users-en] gpg-agent scdaemon + yubikey smartcard not asking for PIN with PUTTY

Sijie Bu tombu at tombu.xyz
Fri Mar 25 22:05:23 CET 2016

Bowlers Bloody wrote:
> Hello guys,
> I have good news : gpg 2.1 rocks !
> Problem solved and here is the solution :
> As Sijie said, the "smartcard compatible" pageant was loading the SIG
> key and the AUTH key.
> Unfortunately, under gpg 2.0.x, when you export a public key and use
> gpg2ssh, the output is the ssh key for the SIG key (and not the auth).
> So when using gpg-agent, it was waiting for putty to request the AUTH
> key and not the SIG key (as it should !). The "smartcard enabled"
> pageant was sending the SIG key so it was working with it.
> Now for the good part : with gpg 2.1, we can now natively use
> --export-ssh-key, and this command export the AUTH key, so in the end,
> it works :)
> Thank you everyone for the help, and I hope it can helps other people too !
> Regards
Yes. So my solution is to start gpg-agent and use ssh-add -L (works with
Linux and Cygwin when ssh-pageant is set up correctly) and then copy the
output to the remote server (i.e. GitHub's SSH keys page) as this does
not need gpgkey2ssh.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wald.intevation.org/pipermail/gpg4win-users-en/attachments/20160325/d53f5310/attachment.sig>

More information about the Gpg4win-users-en mailing list