You might hit this bug:
http://lists.gnupg.org/pipermail/gnupg-users/2015-December/054756.html
On 2016-01-15 01:08, Glenn Rempe wrote:
I recently setup my own Mac w/ gnupg 2.1.10, and I am using a Yubikey
to manage my gpg private keys and I am using that key for SSH auth.
I have it all up and running but I ran into some issues as well so I
wrote up a blog post. I'd appreciate any suggestions for improvement
and especially for any ideas for a better fix for the workaround I had
to do that I documented at the end of the post. Maybe this will be
of some use to those wanting to use the latest gpg for SSH auth on a
Mac with a Yubikey.
https://www.rempe.us/blog/yubikey-gnupg-2-1-and-ssh/ [1]
Here is a discussion thread that describes *exactly* the issue I am
still having (if I don't use my workaround to kill and restart
gpg-agent on every yubikey insertion and deletion):
https://lists.gnupg.org/pipermail/gnupg-users/2015-June/053796.html
[2]
Glenn
Links:
------
[1] https://www.rempe.us/blog/yubikey-gnupg-2-1-and-ssh/
[2] https://lists.gnupg.org/pipermail/gnupg-users/2015-June/053796.html
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users