Hello,
Le 04/09/2021 à 09:57, Vladimir K a écrit :
Package: libccid
Version: 1.4.35-2
Severity: important
Dear Maintainer, upgrading libccid to 1.4.35 or 1.4.36 results in non-working
SafeNet token
The problem is not immediate, appears apparently after some cache refresh
events of either
pcscd or the middleware (safenetauthenticationclient).
But anyway, when libccid>=1.4.35 is installed, pcscd eventually starts failing
when I try
accessing objects from the token:
Sep 04 10:13:18 hostname pcscd[677]: 35941163 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000510 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000356 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000338 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000388 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000399 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000387 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000390 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000374 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000350 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000341 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000316 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000322 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:18 hostname pcscd[677]: 00000324 winscard.c:264:SCardConnect()
Reader Not Found
Sep 04 10:13:23 hostname pcscd[677]: 04990760 commands.c:1557:CCID_Receive()
Not enough data received: 0 bytes
Sep 04 10:13:23 hostname pcscd[677]: 00000059
openct/proto-t1.c:215:t1_transceive() fatal: transmit/receive failed
Sep 04 10:13:23 hostname pcscd[677]: 00000019 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000016 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00005775
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000046 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000023 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00003211
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000031 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000021 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002686
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000037 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000022 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002299
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000030 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000020 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002982
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000028 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000020 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00003621
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000030 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000019 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002932
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000036 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000023 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002110
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000032 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000021 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002241
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000028 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000018 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002491
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000037 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000021 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00004148
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000036 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000021 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00004004
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000037 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000022 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00003023
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000044 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000022 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002221
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000032 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000021 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002295
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000032 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000020 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002497
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000020 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000013 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00002050
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000018 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000012 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00001423
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000018 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000011 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00001112
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000011 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000007 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000839
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000011 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000007 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000829
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000011 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000008 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00001395
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000012 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000007 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00001347
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000011 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000008 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000804
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000008 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000006 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000609
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000008 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000612
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000008 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000006 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000801
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000008 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000006 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000971
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000009 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000715
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000009 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000580
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000008 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000551
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000004 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000517
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000004 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000869
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000745
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000004 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000585
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000006 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000489
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000004 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:23 hostname pcscd[677]: 00000556
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:23 hostname pcscd[677]: 00000007 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:23 hostname pcscd[677]: 00000005 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:24 hostname pcscd[677]: 00000965
openct/proto-t1.c:171:t1_transceive() T=1 state machine is DEAD. Reset the card
first.
Sep 04 10:13:24 hostname pcscd[677]: 00000004 ifdwrapper.c:543:IFDTransmit()
Card not transacted: 612
Sep 04 10:13:24 hostname pcscd[677]: 00000003 winscard.c:1620:SCardTransmit()
Card not transacted: 0x80100016
Sep 04 10:13:24 hostname pcscd[677]: 00332464 ccid_usb.c:902:ReadUSB() read
failed (1/7): -8 LIBUSB_ERROR_OVERFLOW
Sep 04 10:13:24 hostname pcscd[677]: 00000052 ifdwrapper.c:364:IFDStatusICC()
Card not transacted: 612
Sep 04 10:13:24 hostname pcscd[677]: 00000015
eventhandler.c:336:EHStatusHandlerThread() Error communicating to: SafeNet
eToken 5100 [eToken 5110 SC] 00 00
Downgrading libccid to 1.4.34 and clearing middleware cache from /var/tmp fixes
the issue.
That is surprising.
From the error logs it looks like a communication problem at the libusb and/or
USB level.
But that would not explain why it works fine with version 1.4.34
It also very strange that it fails "after a while".
Can you provide more logs as documented at https://ccid.apdu.fr/#support ?
Thanks
--
Dr. Ludovic Rousseau