OpenPGP card bricked

Matthias Apitz guru at unixarea.de
Tue Mar 13 15:34:21 CET 2018


El día martes, marzo 13, 2018 a las 06:54:25p. m. +0900, NIIBE Yutaka escribió:
> 
> > What can I do?
> [...]
> > Identiv uTrust 3512 SAM slot Token
> 
> I believe that GnuPG's in-stock driver just works fine with this reader,
> because it runs at TPDU level exchange.
> 
> Please try without PC/SC-lite, and see how it goes.
> 
> With following ~/.gnupg/scdaemon.conf, you can get debug log.
> 
> ================ ~/.gnupg/scdaemon.conf
> verbose
> verbose
> debug-level guru
> debug-all
> debug-ccid-driver
> log-file /some/where/scdaemon-debug.log
> ================

I moved the /usr/local/sbin/pcscd out of the way. The scdaemon writes
the following log:

2018-03-13 15:28:10 scdaemon[2508.802016000] listening on socket '/home/guru/.gnupg-ccid/S.scdaemon'
2018-03-13 15:28:10 scdaemon[2508.802017900] manejador del descriptor -1 iniciado
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> OK GNU Privacy Guard's Smartcard server ready
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 <- GETINFO socket_name
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> D /home/guru/.gnupg-ccid/S.scdaemon
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> OK
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 <- OPTION event-signal=31
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> OK
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 <- SERIALNO
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: enter: apdu_open_reader: portstr=(null)
2018-03-13 15:28:10 scdaemon[2508.802017900] pcsc_establish_context failed: no service (0x8010001d)
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: leave: apdu_open_reader => slot=-1 [pc/sc]
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> ERR 100696144 Operation not supported by device <SCD>
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 <- RESTART
2018-03-13 15:28:10 scdaemon[2508.802017900] DBG: chan_7 -> OK

Is there some config missing so that scdaemon opens directly the reader?
What does 'pcsc_establish_context failed' mean?

Thanks for your help

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  📱 +49-176-38902045



More information about the Gnupg-users mailing list