-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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:
scdaemon[12887] DBG: chan_7 -> S SERIALNO <redacted>
scdaemon[12887] DBG: chan_7 -> OK
scdaemon[12887] DBG: chan_7 <- SERIALNO
scdaemon[12887] sending signal 12 to client 12885
scdaemon[12887] DBG: chan_7 -> S SERIALNO <redacted>
scdaemon[12887] DBG: chan_7 -> OK
scdaemon[12887] DBG: chan_7 <- KEYINFO --list=encr
scdaemon[12887] reading public key failed: Missing item in object
scdaemon[12887] DBG: chan_7 -> S KEYINFO <redacted> T <redacted> OPENPGP.2 e
scdaemon[12887] DBG: chan_7 -> OK
scdaemon[12887] DBG: chan_7 <- RESTART
scdaemon[12887] DBG: chan_7 -> OK
- Nitrokey 3A NFC v1.6.0 (but this happened on v1.5.x too)
- gpg (GnuPG) 2.4.3
- libgcrypt 1.10.3-unknown
- pcsc-lite version 2.0.1. (not sure if relevant)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels