GPG Smartcard daemons not detecting card change Windows 8.1
Closed, ResolvedPublic


When attempting to use gpg2.exe from the command line on Windows 8.1 (64 bit) I
have found that when I query my smartcard using 'gpg2.exe --card-status' I get
the expected information returned. However, when removing or plugging in another
smart card the data returned from --card-status is still the original cards.

I found that if I stop the "GnuPg's smartcard daemon (32 bit)" process, then gpg
can detect the new card.

This does not seem to happen the first time (after reboot) I try to swap keys,
but does on subsequent attempts.

Setup Information:
2 x ZeitControl Smartcards
1 in Gemalto USB Shell Token V2
1 used with the SCM SCR3500 Smart Card Reader

Windows 8.1 (64 bit) Enterprise
gpg4win v2.2.1 which uses GnuPG 2.0.22


gnupg 2.0.22/gpg4win
werner set Version to gnupg 2.0.22/gpg4win.Aug 14 2014, 12:26 PM
gniibe claimed this task.Apr 3 2015, 6:19 AM
gniibe added a subscriber: gniibe.

Do you mean GnuPG doesn't detect second card change?
Currently, GnuPG doesn't support multiple readers and multiple cards.

werner added a subscriber: werner.Apr 22 2015, 9:00 AM

The version of GnuPG is old. I suggest to first update to the latest gpg4win
version (2.2.4).

Fixed in 2.1.11 and 2.0.30.

gniibe closed this task as Resolved.Nov 30 2016, 2:44 AM
gniibe removed a project: Testing.