Checking multiple smart cards before asking for one
a at 0au.de
Tue May 12 10:56:19 CEST 2020
I have two smart cards, a regular card that I plug into the builtin reader of my
laptop and a yubikey, that have two different keys on them. I store some
passwords in a file that is encrypted with both keys.
When I try to access the passwords, pinentry will always ask me to insert the
yubikey first, even if the other card is already inserted.
Is there a way to define the order this is checked per machine (the laptop will
usually use the card reader, other machines the yubikey), or to force gpg to
check for all cards before asking me to provide one? I'm up for trying to patch
this myself, if somebody will point me in a rough direction :)
More information about the Gnupg-users