[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpg4win-users-en
Subject:    Re: [Gpg4win-users-en] gpg-agent scdaemon + yubikey smartcard not asking for PIN with PUTTY
From:       Sijie Bu <tombu () tombu ! xyz>
Date:       2016-03-25 21:05:23
Message-ID: 56F5A813.9000301 () tombu ! xyz
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


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 t=
oo !
>
> 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.

Sincerely,
Sijie


["signature.asc" (application/pgp-signature)]

_______________________________________________
Gpg4win-users-en mailing list
Gpg4win-users-en@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic