-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gnupg keeps querying card, even if key in question is unrelated to key on card #196
Comments
Thank you for the report! Does your NK3 and the pro 2 have keys stored on it? From my testing, |
sosthene-nitrokey ***@***.***> wrote:
Thank you for the report!
Does your NK3 and the pro 2 have keys stored on it?
Yes, both nitrokeys have gpg keys on them.
From my testing, `gpg` polls the device if there is no key in it, but if there is a key in it it does not poll.
When using the Pro 2, and decrypting something that was encrypted with a key
*not* stored on the Pro 2, it will query it the first time, but no longer
after that.
If there's more info I can share, feel free to ask.
|
So, I'm an idiot. The reason it's doing this is because the key on the NK3 was set as the default signing key... Sorry for wasting your time. |
The issue resurfaced, it seems the default signing key setting had no effect. Using |
Been noticing for a while now that Gnupg keeps querying my smart card when I try to decrypt anything at all, even with keys that are not stored on the card. This is not a huge problem, but it gets quite annoying when working with large batches of encrypted files (emails or password files for example), because it takes about a second per decryption operation and it causes unnecessary strain on the device.
This does not occur with the Nitrokey Pro 2. It'll query it once, and then leave it alone.
I've tried running scdaemon with verbose logging and found this:
The text was updated successfully, but these errors were encountered: