Page MenuHome GnuPG

gnupg2 fails to handle multiple card readers
Closed, ResolvedPublic

Description

Hi,

I have both a regular tabletop reader for my v1 card and others, and an USB
keychain reader for my v2 card.

--card-status outputs

gpg: detected reader `Towitoko Chipdrive Reader 00 00'
gpg: detected reader `Gemplus GemPC Key 00 00'
gpg: pcsc_connect failed: no smartcard (0x8010000c)

Details

Version
2.0.12+svn20090808

Event Timeline

geier set Version to 2.0.12+svn20090808.
geier added a subscriber: geier.

You need to specify the reader using

--reader-port "Gemplus GemPC Key 00 00"

Unless you are unsing Windows I have doubts that these readers work with the new
card. Please take this to a mailing list

werner claimed this task.
werner added a project: Not A Bug.

Note that I am talking about gnupg2, which does not have this option, at least
it says

gpg: invalid option "--reader-port"

Also, for decryption that would be unsatisfactory, because the frontend should
not need to know that a smartcard is involved, and should not need to be
responsible for finding which reader the smartcard is in prior to invoking gnupg.

Currently I have to reconfigure pcscd to switch between my old and new smartcard.

When using GnuPG2 you need to add the option to ~/.gnupg/scdaemon.conf.

gniibe claimed this task.
gniibe added a project: gnupg.
gniibe added a subscriber: gniibe.

It can be specified by scdaemon's option. Now in 2.0.x and 2.1.x, it does
partial match for PC/SC.
So, this issue is now closed.