Yubikey Card Error "sign_and_send_pubkey: signing failed: agent refused operation"

Lawrence Larabee lawrence.larabee at ephibian.com
Wed Aug 15 20:14:11 CEST 2018

> I've got a new Yubikey NEO that I am trying to set up for SSH authentication [...] PIN entry works correctly, but after this everything fails with an error 100663404 and returns "signing failed: agent refused operation" 

For closure, this problem has been solved. I had too many PIN failures, so the stick was rejecting further attempts. Resetting the pin counter using gnupg --card-edit, admin, passwd fixed the problem. Now I am able to use my Yubikey and gpg-agent for SSH login. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180815/e41d2327/attachment.html>

More information about the Gnupg-users mailing list