gpg-agent unable to see yubikey until manually re-running `gpg --card-status`
Lance R. Vick
lance at lrvick.net
Thu Jun 18 19:56:33 CEST 2015
I only ever tried this on 2.0.0 as far as older versions go, and that was
similarly broken. I didn't bother documenting as I saw there were some
smartcard updates in 2.1.4 so I upgraded.
Just now had another variation (on 2.1.4):
1. start gpg-agent
2. populate SSH_AUTH_SOCK
3. ssh successfully
4. remove yubikey
5. insert yubikey
6. attempt to ssh -> "Permission Denied (Publickey)"
7. `gpg --card status` -> "no card present"
8. `gpg --card status` (again) -> Got usual card output
9. ssh successfully again
On Thu, Jun 18, 2015 at 1:32 AM, Werner Koch <wk at gnupg.org> wrote:
> On Wed, 17 Jun 2015 18:17, simon at josefsson.org said:
> > I've seen the error many times, also when I used a g10code smartcard,
> > but lately things have been smooth. I think there have been a couple of
> Old versions of GnuPG assumed that there is a card reader which can tell
> you whether a card has been removed or inserted. However USB tokens are
> different in that you insert/remove the entire reader. gniibe fixed
> these problems some time ago.
> Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
Lance R. Vick
Cell - 407.283.7596
Gtalk - lance at lrvick.net
Website - http://lrvick.net
PGP Key - http://lrvick.net/0x36C8AAA9.asc
keyserver - subkeys.pgp.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-users