Asked for smartcard as it's plugged in

Gabriel's Avatar

Gabriel

13 Feb, 2018 10:08 PM

Hello there,

I'm trying to use GPGTools for git commit signing or email signing/encrypting/decrypting/verifying.

I used this tutorial https://www.yubico.com/support/knowledge-base/categories/articles/u... (I guess, it was a while ago) to generate a key pair and add subkeys to my yubikey.

Whenever I need to sign/encrypt/decrypt a message or a git commit, I need to plug my Yubikey in and type the pin code. That works perfectly just after logging into my session, but if the computer goes to sleep (that's my guess, not sure about that) and I wake it up and try to sign/encrypt/decrypt another message, GPGTools pinentry keeps asking to plug the yubikey in even though it's already there.

As a workaround, I'm forced to go to the terminal, killall gpg-agent and then retry the operation, then it works. Do you know why that happens ?

Best regards,
Gabriel

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac