Pin fails with svn & ssh & gnupg-agent & smartcard.
Guillaume Yziquel
guillaume.yziquel at free.fr
Thu Jul 12 10:31:00 CEST 2007
Guillaume Yziquel a écrit :
> Guillaume Yziquel a écrit :
>> Hello list.
>>
>> I'm into trouble again. I'm still on this svn+ssh+gpg-agent+smartcard
>> problem. I'm not using pcscd any more, but scdaemon, which used to work
>> fine. I do not recall having done anything special that might have
>> broken things up.
>
> Sorry. Made a mistake. Everything is now fine. The smartcard was not
> correctly inserted, and even plugging out and back in, it was
> incorrectly inserted in the smartcard reader. False negatives...
Well, no. In fact, I'm still having a problem...
Everything's working, but after a while, everything fails again. I get
these kind of messages from the smartcard daemon. And unplugging and
replugging everything does not change the result.
> 2007-07-12 10:23:07 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:09 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:11 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:13 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:15 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:17 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:19 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:21 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:23 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:25 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:27 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:29 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:31 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:33 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:35 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:37 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> scdaemon[7546.0] DBG: <- SERIALNO openpgp
> scdaemon[7546.0] DBG: -> S SERIALNO D2760001240101010001000007180000 0
> scdaemon[7546.0] DBG: -> OK
> scdaemon[7546.0] DBG: <- SETDATA 470E49C4E9044608AEE2C7994415DA21859FD0DD
> scdaemon[7546.0] DBG: -> OK
> scdaemon[7546.0] DBG: <- PKSIGN D2760001240101010001000007180000/4FA306335A235A0F6333A8511D09F46540EC28AA
> 2007-07-12 10:23:38 scdaemon[7546] DBG: ccid-driver: sending 6F 09 00 00 00 00 11 04 00 00 00 40 05 00 CA 00 6E 00 E1
> 2007-07-12 10:23:38 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:38 scdaemon[7546] ccid_transceive failed: (0x1000a)
> 2007-07-12 10:23:38 scdaemon[7546] apdu_send_simple(0) failed: card I/O error
> 2007-07-12 10:23:38 scdaemon[7546] error reading application data
> 2007-07-12 10:23:38 scdaemon[7546] operation sign result: Erreur génerale
> 2007-07-12 10:23:38 scdaemon[7546] card_sign failed: Erreur génerale
> scdaemon[7546.0] DBG: -> ERR 100663297 Erreur génerale <SCD>
> scdaemon[7546.0] DBG: <- RESTART
> scdaemon[7546.0] DBG: -> OK
> 2007-07-12 10:23:39 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:41 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:43 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:45 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:47 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:49 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:51 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:53 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:55 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:57 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:23:59 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:24:01 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:24:03 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
> 2007-07-12 10:24:05 scdaemon[7546] DBG: ccid-driver: usb_bulk_write failed: -19
I'd appreciate comments, and I'd like to understand what this log could
mean.
Guillaume Yziquel.
More information about the Gnupg-users
mailing list