scdaemon needs restarting after removing OpenPGP smartcard

Klaus Layer klaus.layer at gmx.de
Tue Jun 5 15:01:27 CEST 2012


Hi,

when I remove a cryptostick and try to access it with i.e. gpg2 --card-status 
I get an error

gpg: selecting openpgp failed: ec=6.32848
gpg: OpenPGP card not available: general error

In this case scdaemon log shows

scdaemon[4167]: chan_7 <- SERIALNO openpgp
2012-06-05 14:35:39 scdaemon[4167] PC/SC RESET failed: invalid value 
(0x80100011)
scdaemon[4167]: chan_7 -> ERR 100663404 Card error <SCD>
scdaemon[4167]: chan_7 <- RESTART
scdaemon[4167]: chan_7 -> OK

I found ticket https://bugs.g10code.com/gnupg/issue1238 which describes this 
error. Are there any plans to downport the fix described in the ticket to 
2.0.X.

Thanks,

Klaus


More information about the Gnupg-users mailing list