CCID no longer working

Andreas Mattheiss andreas.mattheiss at gmx.de
Tue May 25 21:51:49 CEST 2021


Hello,

for a few weeks now gpg has been unable to contact my smartcard. I have recently updated to gpg 2.3.1, so it *might* have to do with that, but I can't positively confirm.

Things had been working flawlessly until then. Running scdaemon with debug gave a telltale hint:

2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> D /home/andreas/.gnupg/S.scdaemon
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> OK
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 <- OPTION event-signal=12
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> OK
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 <- GETINFO version
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> D 2.3.1
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> OK
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 <- SERIALNO
2021-05-25 21:33:11 scdaemon[13946] ccid open error: skip
2021-05-25 21:33:11 scdaemon[13946] check permission of USB device at Bus 005 Device 004
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> ERR 100696144 Kein passendes Gerät gefunden <SCD>
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 <- RESTART
2021-05-25 21:33:11 scdaemon[13946] DBG: chan_7 -> OK

I then put "disable-ccid" into scmdaemon.conf, and things started working again - I have pcscd running anyway. The system is not running udev, the device nodes are static. I had no trouble earlier, so I would assume permissions are not an issue - one would think 666 to be sufficient:

crw-rw-rw- 1 root root 189, 515 25. Mai 21:34 /dev/bus/usb/005/004

gpg 2.3.1 has been out for a month now, and I assume that if there were an issue with CCID there would be some related noise on the mailing list, but there isn't. Maybe it's worth a casual look from our esteemed developers.

Regards
Andreas Mattheiss



More information about the Gnupg-users mailing list