|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
Athena ASEPCOS USB Key Token ProblemsHi all,
I'm having troubles initializing my ASEKey USB Token. I have contacted athena support which has been really forthcoming and helpful. They helped me cleaning the card (with some windows tools) but I still cannot initialize the token on Linux :-( running pcscd with some debug also gives me some worrysome errors when running opensc-explorer and then "ls". See the last error log for details. Here's the error including some output that should help you help me :-) Thanks in advance! # pkcs15-init --create-pkcs15 New Security Officer PIN (Optional - press return for no PIN). Please enter Security Officer PIN: Transport key (External authentication key #0) required. Please enter key in hexadecimal notation (e.g. 00:11:22:aa:bb:cc), or press return to accept default. To use the default transport keys without being prompted, specify the --use-default-transport-keys option on the command line (or -T for short), or press Ctrl-C to abort. Please enter key [CA:FF:EE:BA:BE:FF:FF:FF]: [pkcs15-init] iso7816.c:99:iso7816_check_sw: Application exists [pkcs15-init] card.c:367:sc_create_file: returning with: File already exists Failed to create PKCS #15 meta structure: File already exists # pkcs11-tool -L [opensc-pkcs11] pkcs15.c:761:sc_pkcs15_bind: returning with: Unsupported card # opensc-tool -l Readers known about: Nr. Driver Name 0 pcsc Athena ASE IIIe 00 00 1 openct OpenCT reader (detached) 2 openct OpenCT reader (detached) 3 openct OpenCT reader (detached) 4 openct OpenCT reader (detached) 5 openct OpenCT reader (detached) # pkcs15-tool -D [pkcs15-tool] pkcs15.c:761:sc_pkcs15_bind: returning with: Unsupported card PKCS#15 initialization failed: Unsupported card # opensc-explorer OpenSC Explorer version 0.11.4 OpenSC [3F00]> ls [opensc-explorer] reader-pcsc.c:255:pcsc_transmit: unable to transmit [opensc-explorer] apdu.c:394:do_single_transmit: unable to transmit APDU [opensc-explorer] card-asepcos.c:248:asepcos_get_current_df_path: APDU transmit failed: Transmit failed [opensc-explorer] card.c:554:sc_select_file: returning with: Transmit failed [opensc-explorer] card.c:345:sc_list_files: returning with: Transmit failed unable to receive file listing: Transmit failed # lsusb -vv Bus 006 Device 003: ID 0dc3:1004 Athena Smartcard Solutions, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0dc3 Athena Smartcard Solutions, Inc. idProduct 0x1004 bcdDevice 10.02 iManufacturer 1 Athena iProduct 2 ASEKey CCID iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 86 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 80mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 11 Chip/SmartCard bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 ChipCard Interface Descriptor: bLength 54 bDescriptorType 33 bcdCCID 1.10 (Warning: Only accurate for version 1.0) nMaxSlotIndex 0 bVoltageSupport 2 3.0V dwProtocols 3 T=0 T=1 dwDefaultClock 4000 dwMaxiumumClock 4000 bNumClockSupported 0 dwDataRate 10752 bps dwMaxDataRate 129032 bps bNumDataRatesSupp. 0 dwMaxIFSD 252 dwSyncProtocols 00000000 dwMechanical 00000000 dwFeatures 00010330 Auto clock change Auto baud rate change CCID can set ICC in clock stop mode NAD value other than 0x00 accpeted TPDU level exchange dwMaxCCIDMsgLen 271 bClassGetResponse 00 bClassEnvelope 00 wlcdLayout none bPINSupport 0 bMaxCCIDBusySlots 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0000 (Bus Powered) ###################################### pcscd errors when using opensc-explorer and "ls" : ###################################### # pcscd -fd --apdu 00000000 pcscdaemon.c:280:main() pcscd set to foreground with debug send to stderr 00000022 debuglog.c:239:DebugLogSetLevel() debug level=debug 00000008 debuglog.c:268:DebugLogSetCategory() Debug options: APDU 00000282 readerfactory.c:1082:RFInitializeReader() Attempting startup of OpenCT 00 00 using /usr/lib/openct-ifd.so 00000184 readerfactory.c:915:RFBindFunctions() Loading IFD Handler 2.0 00000078 readerfactory.c:1121:RFInitializeReader() Open Port 0 Failed (/dev/null) 00000006 readerfactory.c:994:RFUnloadReader() Unloading reader driver. 00000038 readerfactory.c:249:RFAddReader() OpenCT init failed. 00000006 pcscdaemon.c:498:main() pcsc-lite 1.4.102 daemon ready. 00101631 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x0DC3, PID: 0x1004 00000013 hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_dc3_1004_noserial_if0 01000423 readerfactory.c:1082:RFInitializeReader() Attempting startup of Athena ASE IIIe 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000176 readerfactory.c:949:RFBindFunctions() Loading IFD Handler 3.0 00000028 ifdhandler.c:1323:init_driver() Driver version: 1.3.8 00000237 ifdhandler.c:1336:init_driver() LogLevel: 0x0003 00000204 ifdhandler.c:1356:init_driver() DriverOptions: 0x0000 00000009 ifdhandler.c:81:IFDHCreateChannelByName() lun: 0, device: usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 00199671 ccid_usb.c:236:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rousseau@...) 00000205 ccid_usb.c:246:OpenUSBByName() ProductString: Generic CCID driver 00000201 ccid_usb.c:252:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00038092 ccid_usb.c:408:OpenUSBByName() Found Vendor/Product: 0DC3/1004 (Athena ASE IIIe) 00000040 ccid_usb.c:410:OpenUSBByName() Using USB bus/device: 006/004 00002350 ccid_usb.c:780:get_data_rates() IFD does not support GET_DATA_RATES request: Success 00002017 ifdhandler.c:307:IFDHGetCapabilities() lun: 0, tag: 0xFB0 00000016 readerfactory.c:267:RFAddReader() Using the pcscd polling thread 00002006 ifdhandler.c:307:IFDHGetCapabilities() lun: 0, tag: 0xFAE 00000010 ifdhandler.c:353:IFDHGetCapabilities() Reader supports 1 slot(s) 00003950 ifdhandler.c:924:IFDHPowerICC() lun: 0, action: PowerUp 00021526 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x093B, PID: 0x0062 00000964 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00001203 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001153 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001082 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002591 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x0424, PID: 0x2504 00000728 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x046D, PID: 0xC01B 00000965 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x046D, PID: 0xC317 00000739 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x046D, PID: 0xC317 00001219 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00001112 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001087 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001092 hotplug_libhal.c:305:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00033548 Card ATR: 3B D6 18 00 81 B1 80 7D 1F 03 80 51 00 61 10 30 8F 06355292 winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel packet arrival 00000020 winscard_msg_srv.c:226:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 8 00000006 pcscdaemon.c:160:SVCServiceRunLoop() A new context thread creation is requested: 8 00000051 winscard_svc.c:132:ContextThread() Thread is started: 8 00000313 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000040 winscard_svc.c:188:ContextThread() Client is protocol version 3:0 00000063 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000046 winscard.c:239:SCardEstablishContext() Establishing Context: 17029321 00000389 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000038 winscard.c:296:SCardConnect() Attempting Connect to Athena ASE IIIe 00 00 using protocol: 3 00000035 prothandler.c:128:PHSetProtocol() Attempting PTS to T=1 00000033 ifdhandler.c:488:IFDHSetProtocolParameters() lun: 0, protocol T=1 00000037 ifdhandler.c:1451:extra_egt() Extra EGT patch applied 00036764 winscard.c:428:SCardConnect() Active Protocol: T=1 00000012 winscard.c:438:SCardConnect() hCard Identity: 1a585 00000103 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000014 ifdhandler.c:1073:IFDHControl() lun: 0, ControlCode: 0x42000D48 00000007 Control TxBuffer: 00000004 Control RxBuffer: 00000093 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000010 winscard.c:1022:SCardBeginTransaction() Status: 0x00000000 00000066 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000009 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000007 APDU: 00 CA 01 83 00 00000006 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00007666 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=2 00000009 openct/proto-t1.c:669:t1_xcv() New timeout at WTX request: 56 sec 00007989 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=2 00000006 openct/proto-t1.c:669:t1_xcv() New timeout at WTX request: 56 sec 00140999 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=2 00000011 openct/proto-t1.c:669:t1_xcv() New timeout at WTX request: 56 sec 00022997 SW: 8B 02 3F 00 90 00 00000086 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000010 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000007 APDU: 00 A4 00 00 02 3F 00 00 00002336 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00017575 SW: 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 01616367 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000014 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 CA 01 83 00 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00005620 SW: 8B 02 3F 00 90 00 00000060 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000009 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000007 APDU: 00 CA 01 83 00 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00005921 SW: 8B 02 3F 00 90 00 00000058 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000009 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000007 APDU: 00 A4 00 00 02 3F 00 00 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00017936 SW: 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 00000065 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000005 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000005 APDU: 00 CA 01 83 00 00000003 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00004905 SW: 8B 02 3F 00 90 00 00000055 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000008 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 A4 00 00 02 50 15 00 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00010935 SW: 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 00 8A 01 01 90 00 00000059 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00000007 winscard.c:1603:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 CA 01 83 00 00000004 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 00001920 commands.c:1230:CCID_Receive() Not enough data received: 0 bytes 00000016 openct/proto-t1.c:221:t1_transceive() fatal: transmit/receive failed 00000006 SW: 00000007 ifdwrapper.c:750:IFDTransmit() Card not transacted: 612 00000005 winscard.c:1630:SCardTransmit() Card not transacted: 0x80100016 00000124 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly processed client: 8 00332846 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000010 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402989 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001007 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001008 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000007 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001011 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000984 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001008 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000991 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001009 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000008 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000010 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403025 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000968 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001026 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000977 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000011 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402989 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000010 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000008 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402993 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001012 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000988 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000990 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001008 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000007 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000004 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001010 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000986 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001008 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000008 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000007 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001013 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000984 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001023 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000979 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000012 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402987 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000008 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001010 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000991 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000011 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000007 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 ^C00210758 pcscdaemon.c:563:signal_trap() Preparing for suicide 00192236 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001007 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001007 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402990 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000010 ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:334:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00384818 readerfactory.c:1348:RFCleanupReaders() entering cleaning function 00000013 readerfactory.c:1357:RFCleanupReaders() Stopping reader: Athena ASE IIIe 00 00 00000008 eventhandler.c:124:EHDestroyEventHandler() Stomping thread. 00000006 ifdhandler.c:307:IFDHGetCapabilities() lun: 0, tag: 0xFB1 00000005 eventhandler.c:137:EHDestroyEventHandler() Waiting polling thread 00015225 eventhandler.c:496:EHStatusHandlerThread() Die 00000092 eventhandler.c:161:EHDestroyEventHandler() Thread stomped. 00000008 readerfactory.c:1133:RFUnInitializeReader() Attempting shutdown of Athena ASE IIIe 00 00. 00000007 ifdhandler.c:226:IFDHCloseChannel() lun: 0 00002820 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:548:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:545:ReadUSB() Too many duplicate frame detected 00000033 readerfactory.c:994:RFUnloadReader() Unloading reader driver. 00000053 pcscdaemon.c:523:at_exit() cleaning /var/run/pcscd _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsOn Wed, Nov 4, 2009 at 12:20 PM, Till Salzgeber <till.salzgeber@...> wrote:
> > Hi all, > > I'm having troubles initializing my ASEKey USB Token. > > I have contacted athena support which has been really forthcoming and > helpful. > They helped me cleaning the card (with some windows tools) but I still > cannot initialize the token on Linux :-( > > running pcscd with some debug also gives me some worrysome errors when > running opensc-explorer and then "ls". > See the last error log for details. > > Here's the error including some output that should help you help me :-) > > Thanks in advance! > > # pkcs15-init --create-pkcs15 > New Security Officer PIN (Optional - press return for no PIN). > Please enter Security Officer PIN: > Transport key (External authentication key #0) required. > Please enter key in hexadecimal notation (e.g. 00:11:22:aa:bb:cc), > or press return to accept default. > > To use the default transport keys without being prompted, > specify the --use-default-transport-keys option on the > command line (or -T for short), or press Ctrl-C to abort. > Please enter key [CA:FF:EE:BA:BE:FF:FF:FF]: > [pkcs15-init] iso7816.c:99:iso7816_check_sw: Application exists > [pkcs15-init] card.c:367:sc_create_file: returning with: File already exists > Failed to create PKCS #15 meta structure: File already exists You should go into Windows machine. Select initialize token. Then when it asks for new passphrase remove the token. Then try to pkcs15-init it again. Alon. _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problems2009/11/4 Till Salzgeber <till.salzgeber@...>:
> Hi all, > > I'm having troubles initializing my ASEKey USB Token. > > I have contacted athena support which has been really forthcoming and > helpful. > They helped me cleaning the card (with some windows tools) but I still > cannot initialize the token on Linux :-( > # pcscd -fd --apdu [...] > 00000006 APDU: 00 A4 00 00 02 50 15 00 > 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 > 00010935 SW: 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 > 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 > 00 8A 01 01 90 00 > 00000059 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly > processed client: 8 > 00000007 winscard.c:1603:SCardTransmit() Send Protocol: T=1 > 00000006 APDU: 00 CA 01 83 00 > 00000004 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 > 00001920 commands.c:1230:CCID_Receive() Not enough data received: 0 bytes > 00000016 openct/proto-t1.c:221:t1_transceive() fatal: transmit/receive > failed > 00000006 SW: > 00000007 ifdwrapper.c:750:IFDTransmit() Card not transacted: 612 > 00000005 winscard.c:1630:SCardTransmit() Card not transacted: 0x80100016 > 00000124 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly > processed client: 8 > 00332846 ccid_usb.c:548:ReadUSB() Duplicate frame detected > 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected > 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected You have a problem in the reader-driver communication. First update the CCID driver [1] to version 1.3.11 (you are using 1.3.8) You can try to generate more verbose logs as described in [2]. Do you always have the problem at the exact same place in the logs (just after sending the APDU: 00 CA 01 83 00)? Bye [1] http://pcsclite.alioth.debian.org/ccid.html [2] http://pcsclite.alioth.debian.org/ccid.html#support -- Dr. Ludovic Rousseau _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsHi Ludovic,
I tried it again using the 1.3.11 drivers and I got the same problem as before (see logfile below). If you need any more debugging Output, please let me know. #You should go into Windows machine. #Select initialize token. #Then when it asks for new passphrase remove the token. #Then try to pkcs15-init it again. #Alon. This is what Athena support instructed me to do and this is what I did, the card already was in that state. Regards, - Till # pcscd --foreground --debug --apdu 00000000 debuglog.c:230:DebugLogSetLevel() debug level=debug 00000030 debuglog.c:259:DebugLogSetCategory() Debug options: APDU 00000272 pcscdaemon.c:512:main() pcsc-lite 1.5.5 daemon ready. 00168038 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00000857 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00000856 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00000861 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002043 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0424, PID: 0x2504 00000520 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x046D, PID: 0xC01B 00000696 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x046D, PID: 0xC317 00000520 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x046D, PID: 0xC317 00000863 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00000863 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00000864 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00000802 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 18059747 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0DC3, PID: 0x1004 00000019 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_dc3_1004_noserial_if0 01000648 readerfactory.c:1024:RFInitializeReader() Attempting startup of Athena ASE IIIe 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000228 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0 00000034 ifdhandler.c:1532:init_driver() Driver version: 1.3.11 00000267 ifdhandler.c:1545:init_driver() LogLevel: 0x0003 00000009 ifdhandler.c:1555:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x0007 00000223 ifdhandler.c:1565:init_driver() DriverOptions: 0x0000 00000007 ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 00000011 ccid_usb.c:162:OpenUSBByName() Reader index: 0, Device: usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 00198581 ccid_usb.c:285:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rousseau@...) 00000228 ccid_usb.c:295:OpenUSBByName() ProductString: Generic CCID driver 00000224 ccid_usb.c:301:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00046225 ccid_usb.c:383:OpenUSBByName() Checking device: 006/002 00000011 ccid_usb.c:437:OpenUSBByName() Trying to open USB bus/device: 006/002 00000036 ccid_usb.c:501:OpenUSBByName() Found Vendor/Product: 0DC3/1004 (Athena ASE IIIe) 00000007 ccid_usb.c:503:OpenUSBByName() Using USB bus/device: 006/002 00000006 ccid_usb.c:949:ControlUSB() request: 0x03 00002060 receive: 00000052 ccid_usb.c:893:get_data_rates() IFD does not support GET_DATA_RATES request: Success 00000055 ccid_usb.c:985:InterruptRead() usb_interrupt_read(006/002): No such file or directory 00001897 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFB0, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000011 readerfactory.c:249:RFAddReader() Using the pcscd polling thread 00002014 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFAE, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000044 ifdhandler.c:418:IFDHGetCapabilities() Reader supports 1 slot(s) 00003926 ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000040 commands.c:180:CmdPowerOn() 5V requested but not support by reader 00000039 -> 000000 62 00 00 00 00 00 04 02 00 00 00068921 <- 000000 80 11 00 00 00 00 04 00 00 00 3B D6 18 00 81 B1 80 7D 1F 03 80 51 00 61 10 30 8F 00000019 Card ATR: 3B D6 18 00 81 B1 80 7D 1F 03 80 51 00 61 10 30 8F 06910732 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel packet arrival 00000023 winscard_msg_srv.c:248:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 7 00000006 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation is requested: 7 00000046 winscard_svc.c:133:ContextThread() Thread is started: 7 00000040 winscard_msg_srv.c:317:SHMProcessEventsContext() command CMD_VERSION received by client 7 00000009 winscard_svc.c:189:ContextThread() Client is protocol version 3:0 00000047 winscard_msg_srv.c:317:SHMProcessEventsContext() command ESTABLISH_CONTEXT received by client 7 00000027 winscard.c:242:SCardEstablishContext() Establishing Context: 17018353 00004057 winscard_msg_srv.c:317:SHMProcessEventsContext() command RELEASE_CONTEXT received by client 7 00000009 winscard.c:253:SCardReleaseContext() Releasing Context: 17018353 00000294 winscard_msg_srv.c:306:SHMProcessEventsContext() Client has disappeared: 7 00000014 winscard_svc.c:146:ContextThread() Client die: 7 06547272 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel packet arrival 00000016 winscard_msg_srv.c:248:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 7 00000005 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation is requested: 7 00000034 winscard_svc.c:133:ContextThread() Thread is started: 7 00000031 winscard_msg_srv.c:317:SHMProcessEventsContext() command CMD_VERSION received by client 7 00000006 winscard_svc.c:189:ContextThread() Client is protocol version 3:0 00000047 winscard_msg_srv.c:317:SHMProcessEventsContext() command ESTABLISH_CONTEXT received by client 7 00000011 winscard.c:242:SCardEstablishContext() Establishing Context: 17006123 00000444 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT received by client 7 00000013 winscard.c:303:SCardConnect() Attempting Connect to Athena ASE IIIe 00 00 using protocol: 3 00000007 prothandler.c:128:PHSetProtocol() Attempting PTS to T=1 00000006 ifdhandler.c:581:IFDHSetProtocolParameters() protocol T=1, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000006 ifdhandler.c:1660:extra_egt() Extra EGT patch applied 00000006 ifdhandler.c:702:IFDHSetProtocolParameters() Set speed to 129032 bauds 00000006 towitoko/atr.c:329:ATR_GetDefaultProtocol() default protocol: T=1 00000006 PPS: Sending request: FF 11 18 F6 00000006 -> 000000 6F 04 00 00 00 00 27 00 00 00 FF 11 18 F6 00032941 <- 000000 80 04 00 00 00 00 27 00 00 00 FF 11 18 F6 00000010 PPS: Receiving confirm: FF 11 18 F6 00000007 ifdhandler.c:858:IFDHSetProtocolParameters() BWI/CWI (TB3) present: 0x7D 00000005 ifdhandler.c:894:IFDHSetProtocolParameters() IFSC (TA3) present: 128 00000004 ifdhandler.c:901:IFDHSetProtocolParameters() Timeout: 28 seconds 00000004 commands.c:2015:SetParameters() length: 7 bytes 00000006 -> 000000 61 07 00 00 00 00 28 01 00 00 18 10 02 7D 00 80 00 00001967 <- 000000 82 07 00 00 00 00 28 00 00 00 18 10 02 7D 00 80 00 00000012 ifdhandler.c:961:IFDHSetProtocolParameters() IFSC (TA3) present: 128 00000006 ifdhandler.c:972:IFDHSetProtocolParameters() Negociate IFSD at 252 00000006 sending: 00 C1 01 FC 3C 00000010 -> 000000 6F 05 00 00 00 00 29 00 00 00 00 C1 01 FC 3C 00001961 <- 000000 80 05 00 00 00 00 29 00 00 00 00 E1 01 FC 1C 00000009 received: 00 E1 01 FC 1C 00000006 ifdhandler.c:978:IFDHSetProtocolParameters() T=1: IFSC=128, IFSD=252 00000007 winscard.c:451:SCardConnect() Active Protocol: T=1 00000006 winscard.c:461:SCardConnect() hCard Identity: 131f1 00000103 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONTROL received by client 7 00000011 ifdhandler.c:1210:IFDHControl() ControlCode: 0x42000D48, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000004 Control TxBuffer: 00000004 Control RxBuffer: 0A 04 42 33 00 0A 00000093 winscard_msg_srv.c:317:SHMProcessEventsContext() command BEGIN_TRANSACTION received by client 7 00000009 winscard.c:1061:SCardBeginTransaction() Status: 0x00000000 00000061 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000008 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 CA 01 83 00 00000004 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000008 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes 00000005 openct/proto-t1.c:570:t1_build() more bit: 0 00000005 sending: 00 00 05 00 CA 01 83 00 4D 00000007 -> 000000 6F 09 00 00 00 00 2A 00 00 00 00 00 05 00 CA 01 83 00 4D 00007643 <- 000000 80 05 00 00 00 00 2A 00 00 00 00 C3 01 02 C0 00000042 received: 00 C3 01 02 C0 00000037 openct/proto-t1.c:422:t1_transceive() S-Block request received 00000036 openct/proto-t1.c:479:t1_transceive() CT sent S-block with wtx=2 00000036 sending: 00 E3 01 02 E0 00000035 openct/proto-t1.c:658:t1_xcv() New timeout at WTX request: 56 sec 00000038 -> 000000 6F 05 00 00 00 00 2B 02 00 00 00 E3 01 02 E0 00007773 <- 000000 80 05 00 00 00 00 2B 00 00 00 00 C3 01 02 C0 00000010 received: 00 C3 01 02 C0 00000005 openct/proto-t1.c:422:t1_transceive() S-Block request received 00000004 openct/proto-t1.c:479:t1_transceive() CT sent S-block with wtx=2 00000004 sending: 00 E3 01 02 E0 00000003 openct/proto-t1.c:658:t1_xcv() New timeout at WTX request: 56 sec 00000006 -> 000000 6F 05 00 00 00 00 2C 02 00 00 00 E3 01 02 E0 00138970 <- 000000 80 05 00 00 00 00 2C 00 00 00 00 C3 01 02 C0 00000011 received: 00 C3 01 02 C0 00000006 openct/proto-t1.c:422:t1_transceive() S-Block request received 00000004 openct/proto-t1.c:479:t1_transceive() CT sent S-block with wtx=2 00000007 sending: 00 E3 01 02 E0 00000004 openct/proto-t1.c:658:t1_xcv() New timeout at WTX request: 56 sec 00000007 -> 000000 6F 05 00 00 00 00 2D 02 00 00 00 E3 01 02 E0 00022961 <- 000000 80 0A 00 00 00 00 2D 00 00 00 00 00 06 8B 02 3F 00 90 00 20 00000011 received: 00 00 06 8B 02 3F 00 90 00 20 00000005 openct/proto-t1.c:350:t1_transceive() 00000006 SW: 8B 02 3F 00 90 00 00000079 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000007 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 A4 00 00 02 3F 00 00 00000005 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000005 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 8 and 258 bytes 00000005 openct/proto-t1.c:570:t1_build() more bit: 0 00000006 sending: 00 40 08 00 A4 00 00 02 3F 00 00 D1 00000010 -> 000000 6F 0C 00 00 00 00 2E 00 00 00 00 40 08 00 A4 00 00 02 3F 00 00 D1 00017873 <- 000000 80 5E 00 00 00 00 2E 00 00 00 00 40 5A 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 FE 00000027 received: 00 40 5A 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 FE 00000007 openct/proto-t1.c:350:t1_transceive() 00000019 SW: 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 02306162 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000015 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000007 APDU: 00 CA 01 83 00 00000007 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000006 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes 00000006 openct/proto-t1.c:570:t1_build() more bit: 0 00000007 sending: 00 00 05 00 CA 01 83 00 4D 00000008 -> 000000 6F 09 00 00 00 00 35 00 00 00 00 00 05 00 CA 01 83 00 4D 00005744 <- 000000 80 0A 00 00 00 00 35 00 00 00 00 00 06 8B 02 3F 00 90 00 20 00000012 received: 00 00 06 8B 02 3F 00 90 00 20 00000006 openct/proto-t1.c:350:t1_transceive() 00000005 SW: 8B 02 3F 00 90 00 00000324 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000011 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000005 APDU: 00 CA 01 83 00 00000005 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000005 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes 00000005 openct/proto-t1.c:570:t1_build() more bit: 0 00000005 sending: 00 40 05 00 CA 01 83 00 0D 00000008 -> 000000 6F 09 00 00 00 00 36 00 00 00 00 40 05 00 CA 01 83 00 0D 00005611 <- 000000 80 0A 00 00 00 00 36 00 00 00 00 40 06 8B 02 3F 00 90 00 60 00000010 received: 00 40 06 8B 02 3F 00 90 00 60 00000006 openct/proto-t1.c:350:t1_transceive() 00000005 SW: 8B 02 3F 00 90 00 00000061 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000008 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 A4 00 00 02 3F 00 00 00000005 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000005 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 8 and 258 bytes 00000005 openct/proto-t1.c:570:t1_build() more bit: 0 00000006 sending: 00 00 08 00 A4 00 00 02 3F 00 00 91 00000008 -> 000000 6F 0C 00 00 00 00 37 00 00 00 00 00 08 00 A4 00 00 02 3F 00 00 91 00017893 <- 000000 80 5E 00 00 00 00 37 00 00 00 00 00 5A 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 BE 00000026 received: 00 00 5A 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 BE 00000007 openct/proto-t1.c:350:t1_transceive() 00000018 SW: 6F 56 80 02 00 00 81 02 00 59 82 01 38 83 02 3F 00 A5 06 00 00 50 15 10 00 87 08 00 01 20 00 00 00 CF D9 85 04 FF FF CF D9 8A 01 05 86 81 29 80 01 40 97 00 80 01 01 A0 01 00 80 01 02 A0 01 00 80 01 04 A0 01 00 80 01 08 A0 01 00 80 01 10 A0 01 00 80 01 20 A0 01 00 90 00 00000066 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000009 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000006 APDU: 00 CA 01 83 00 00000005 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000006 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes 00000004 openct/proto-t1.c:570:t1_build() more bit: 0 00000005 sending: 00 40 05 00 CA 01 83 00 0D 00000007 -> 000000 6F 09 00 00 00 00 38 00 00 00 00 40 05 00 CA 01 83 00 0D 00004828 <- 000000 80 0A 00 00 00 00 38 00 00 00 00 40 06 8B 02 3F 00 90 00 60 00000046 received: 00 40 06 8B 02 3F 00 90 00 60 00000038 openct/proto-t1.c:350:t1_transceive() 00000037 SW: 8B 02 3F 00 90 00 00000122 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000040 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000036 APDU: 00 A4 00 00 02 50 15 00 00000036 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000037 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 8 and 258 bytes 00000035 openct/proto-t1.c:570:t1_build() more bit: 0 00000037 sending: 00 00 08 00 A4 00 00 02 50 15 00 EB 00000038 -> 000000 6F 0C 00 00 00 00 39 00 00 00 00 00 08 00 A4 00 00 02 50 15 00 EB 00011503 <- 000000 80 36 00 00 00 00 39 00 00 00 00 00 32 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 00 8A 01 01 90 00 05 00000050 received: 00 00 32 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 00 8A 01 01 90 00 05 00000037 openct/proto-t1.c:350:t1_transceive() 00000043 SW: 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 00 8A 01 01 90 00 00000092 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT received by client 7 00000038 winscard.c:1651:SCardTransmit() Send Protocol: T=1 00000036 APDU: 00 CA 01 83 00 00000035 ifdhandler.c:1170:IFDHTransmitToICC() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000036 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes 00000035 openct/proto-t1.c:570:t1_build() more bit: 0 00000036 sending: 00 40 05 00 CA 01 83 00 0D 00000038 -> 000000 6F 09 00 00 00 00 3A 00 00 00 00 40 05 00 CA 01 83 00 0D 00001507 <- 000000 00000011 commands.c:1295:CCID_Receive() Not enough data received: 0 bytes 00000007 openct/proto-t1.c:213:t1_transceive() fatal: transmit/receive failed 00000004 SW: 00000007 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612 00000004 winscard.c:1675:SCardTransmit() Card not transacted: 0x80100016 00069976 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000011 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402995 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000988 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001009 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000991 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001007 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402994 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000006 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000004 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00402996 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001017 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000982 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000007 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000998 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001004 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000995 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001000 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000010 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000007 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 ^C00011162 pcscdaemon.c:588:signal_trap() Preparing for suicide 00391828 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000992 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001002 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000997 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000999 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000008 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000005 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00403001 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001007 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000993 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001005 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001003 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000996 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00001006 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000009 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 00000006 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Athena ASE IIIe 00 00 00185220 readerfactory.c:1270:RFCleanupReaders() entering cleaning function 00000010 readerfactory.c:1279:RFCleanupReaders() Stopping reader: Athena ASE IIIe 00 00 00000012 eventhandler.c:126:EHDestroyEventHandler() Stomping thread. 00000007 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFB1, usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000005 eventhandler.c:139:EHDestroyEventHandler() Waiting polling thread ^C00214852 eventhandler.c:474:EHStatusHandlerThread() Die 00000041 eventhandler.c:163:EHDestroyEventHandler() Thread stomped. 00000007 readerfactory.c:1065:RFUnInitializeReader() Attempting shutdown of Athena ASE IIIe 00 00. 00000010 ifdhandler.c:266:IFDHCloseChannel() usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 (lun: 0) 00000009 -> 000000 63 00 00 00 00 00 42 00 00 00 00002823 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000013 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000981 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000009 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000994 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000010 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000984 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000008 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000995 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000009 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000987 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000008 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000998 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000010 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000985 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000006 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000996 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000006 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000991 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000010 ccid_usb.c:656:ReadUSB() Duplicate frame detected 00000992 <- 000000 80 0E 00 00 00 00 3A 00 00 00 00000007 ccid_usb.c:653:ReadUSB() Too many duplicate frame detected 00000006 ccid_usb.c:677:CloseUSB() Closing USB device: 006/002 00000004 ccid_usb.c:692:CloseUSB() Last slot closed. Release resources 00000030 readerfactory.c:914:RFUnloadReader() Unloading reader driver. 00000081 pcscdaemon.c:537:at_exit() cleaning /var/run/pcscd Ludovic Rousseau wrote: > 2009/11/4 Till Salzgeber <till.salzgeber@...>: > >> Hi all, >> >> I'm having troubles initializing my ASEKey USB Token. >> >> I have contacted athena support which has been really forthcoming and >> helpful. >> They helped me cleaning the card (with some windows tools) but I still >> cannot initialize the token on Linux :-( >> > > > >> # pcscd -fd --apdu >> > [...] > >> 00000006 APDU: 00 A4 00 00 02 50 15 00 >> 00000005 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 >> 00010935 SW: 6F 2E 80 02 00 00 81 02 00 59 82 01 38 83 02 50 15 A5 06 00 >> 00 00 00 00 00 84 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 85 04 20 00 20 >> 00 8A 01 01 90 00 >> 00000059 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly >> processed client: 8 >> 00000007 winscard.c:1603:SCardTransmit() Send Protocol: T=1 >> 00000006 APDU: 00 CA 01 83 00 >> 00000004 ifdhandler.c:1035:IFDHTransmitToICC() lun: 0 >> 00001920 commands.c:1230:CCID_Receive() Not enough data received: 0 bytes >> 00000016 openct/proto-t1.c:221:t1_transceive() fatal: transmit/receive >> failed >> 00000006 SW: >> 00000007 ifdwrapper.c:750:IFDTransmit() Card not transacted: 612 >> 00000005 winscard.c:1630:SCardTransmit() Card not transacted: 0x80100016 >> 00000124 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly >> processed client: 8 >> 00332846 ccid_usb.c:548:ReadUSB() Duplicate frame detected >> 00000999 ccid_usb.c:548:ReadUSB() Duplicate frame detected >> 00001002 ccid_usb.c:548:ReadUSB() Duplicate frame detected >> > > You have a problem in the reader-driver communication. > First update the CCID driver [1] to version 1.3.11 (you are using 1.3.8) > > You can try to generate more verbose logs as described in [2]. > > Do you always have the problem at the exact same place in the logs > (just after sending the APDU: 00 CA 01 83 00)? > > Bye > > [1] http://pcsclite.alioth.debian.org/ccid.html > [2] http://pcsclite.alioth.debian.org/ccid.html#support > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problems2009/11/5 Till Salzgeber <till.salzgeber@...>:
> I tried it again using the 1.3.11 drivers and I got the same problem as > before (see logfile below). > 00000092 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT > received by client 7 > 00000038 winscard.c:1651:SCardTransmit() Send Protocol: T=1 > 00000036 APDU: 00 CA 01 83 00 > 00000035 ifdhandler.c:1170:IFDHTransmitToICC() > usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 > (lun: 0) > 00000036 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes > 00000035 openct/proto-t1.c:570:t1_build() more bit: 0 > 00000036 sending: 00 40 05 00 CA 01 83 00 0D > 00000038 -> 000000 6F 09 00 00 00 00 3A 00 00 00 00 40 05 00 CA 01 83 00 0D > 00001507 <- 000000 > 00000011 commands.c:1295:CCID_Receive() Not enough data received: 0 bytes > 00000007 openct/proto-t1.c:213:t1_transceive() fatal: transmit/receive > failed > 00000004 SW: > 00000007 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612 > 00000004 winscard.c:1675:SCardTransmit() Card not transacted: 0x80100016 > 00069976 ccid_usb.c:656:ReadUSB() Duplicate frame detected > 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected > 00001004 ccid_usb.c:656:ReadUSB() Duplicate frame detected The problem occurs always for the same APDU. What is really strange is that the driver receives a 0 bytes length CCID frame without an error. I guess your token does not look like picture at [1]. Can you confirm? I guess you can't remove the "card" from the token to insert it in a different reader? Bye [1] http://pcsclite.alioth.debian.org/supported.html#0x0DC30x1004 -- Dr. Ludovic Rousseau _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsLudovic Rousseau wrote:
> 2009/11/5 Till Salzgeber <till.salzgeber@...>: > >> I tried it again using the 1.3.11 drivers and I got the same problem as >> before (see logfile below). >> > > > >> 00000092 winscard_msg_srv.c:317:SHMProcessEventsContext() command TRANSMIT >> received by client 7 >> 00000038 winscard.c:1651:SCardTransmit() Send Protocol: T=1 >> 00000036 APDU: 00 CA 01 83 00 >> 00000035 ifdhandler.c:1170:IFDHTransmitToICC() >> usb:0dc3/1004:libhal:/org/freedesktop/Hal/devices/usb_device_dc3_1004_noserial_if0 >> (lun: 0) >> 00000036 commands.c:1990:CmdXfrBlockTPDU_T1() T=1: 5 and 258 bytes >> 00000035 openct/proto-t1.c:570:t1_build() more bit: 0 >> 00000036 sending: 00 40 05 00 CA 01 83 00 0D >> 00000038 -> 000000 6F 09 00 00 00 00 3A 00 00 00 00 40 05 00 CA 01 83 00 0D >> 00001507 <- 000000 >> 00000011 commands.c:1295:CCID_Receive() Not enough data received: 0 bytes >> 00000007 openct/proto-t1.c:213:t1_transceive() fatal: transmit/receive >> failed >> 00000004 SW: >> 00000007 ifdwrapper.c:722:IFDTransmit() Card not transacted: 612 >> 00000004 winscard.c:1675:SCardTransmit() Card not transacted: 0x80100016 >> 00069976 ccid_usb.c:656:ReadUSB() Duplicate frame detected >> 00000994 ccid_usb.c:656:ReadUSB() Duplicate frame detected >> 00001004 ccid_usb.c:656:ReadUSB() Duplicate frame detected >> > > The problem occurs always for the same APDU. > What is really strange is that the driver receives a 0 bytes length > CCID frame without an error. > > I guess your token does not look like picture at [1]. Can you confirm? > > I guess you can't remove the "card" from the token to insert it in a > different reader? > > Bye > > [1] http://pcsclite.alioth.debian.org/supported.html#0x0DC30x1004 > > This is the Key I own: http://athena-scs.com/product.asp?pid=33 Cheers _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problems2009/11/5 Till Salzgeber <till.salzgeber@...>:
> This is the Key I own: > http://athena-scs.com/product.asp?pid=33 Can you follow the procedure at [1] and send me the output.txt file? Bye [1] http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant -- Dr. Ludovic Rousseau _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsSorry for the delay, here is the output from your tool [1]
Alon Bar-Lev wrote: > I asked Athena again how to reinitialize token, this is what I got. > I know it is working as once I tried it... > --- > - create a new profile (personalization tool), where the User PIN is > "manual" (it means he will be asked to specify the user pin) > - re-personalize with this new profile, when he is asked for the > pervious Admin PIN, enter it, it will wipe the card > - then, when asked for the new user PIN, remove the card - result is > a wiped card. > --- Thanks in advance [1] Parsing USB bus/device: 006/017 idVendor: 0x0DC3 iManufacturer: Athena idProduct: 0x1004 iProduct: ASEKey CCID Found a CCID/ICCD device at interface 0 idVendor: 0x0DC3 iManufacturer: Athena idProduct: 0x1004 iProduct: ASEKey CCID bcdDevice: 10.02 (firmware release?) bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 2 bulk-IN and bulk-OUT bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)] bInterfaceSubClass: 0 bInterfaceProtocol: 0 bulk transfer, optional interrupt-IN (CCID) iInterface: ? CCID Class Descriptor bLength: 0x36 bDescriptorType: 0x21 bcdCCID: 1.10 bMaxSlotIndex: 0x00 bVoltageSupport: 0x02 3.0V dwProtocols: 0x0000 0x0003 T=0 T=1 dwDefaultClock: 4.000 MHz dwMaximumClock: 4.000 MHz bNumClockSupported: 0 (will use whatever is returned) IFD does not support GET CLOCK FREQUENCIES request: Broken pipe dwDataRate: 10752 bps dwMaxDataRate: 129032 bps bNumDataRatesSupported: 0 (will use whatever is returned) IFD does not support GET_DATA_RATES request: Broken pipe dwMaxIFSD: 252 dwSynchProtocols: 0x00000000 dwMechanical: 0x00000000 No special characteristics dwFeatures: 0x00010330 ....10 Automatic ICC clock frequency change according to parameters ....20 Automatic baud rate change according to frequency and Fi, Di params ..01.. CCID can set ICC in clock stop mode ..02.. NAD value other than 00 accepted (T=1) 01.... TPDU level exchange dwMaxCCIDMessageLength: 271 bytes bClassGetResponse: 0x00 bClassEnveloppe: 0x00 wLcdLayout: 0x0000 bPINSupport: 0x00 bMaxCCIDBusySlots: 1 Ludovic Rousseau wrote: > 2009/11/5 Till Salzgeber <till.salzgeber@...>: > >> This is the Key I own: >> http://athena-scs.com/product.asp?pid=33 >> > > Can you follow the procedure at [1] and send me the output.txt file? > > Bye > > [1] http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problems2009/11/12 Till Salzgeber <till.salzgeber@...>:
> Sorry for the delay, here is the output from your tool [1] > [1] > Parsing USB bus/device: 006/017 > idVendor: 0x0DC3 iManufacturer: Athena > idProduct: 0x1004 iProduct: ASEKey CCID > Found a CCID/ICCD device at interface 0 > idVendor: 0x0DC3 > iManufacturer: Athena > idProduct: 0x1004 > iProduct: ASEKey CCID Athena is reusing the same productID for a different product. I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It looks like this device is bogus. I can't help (unless I invest a huge amount of time reverse engineering the Windows driver to see why it works under Windows and not under Linux). You should use another token. Bye, -- Dr. Ludovic Rousseau _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsThanks for the info.
I suggest one should remove the entry on the opensc wiki then, or at least put a note that their usb token does not work with opensc :-/ Cheers, - Till Ludovic Rousseau wrote: > 2009/11/12 Till Salzgeber <till.salzgeber@...>: > >> Sorry for the delay, here is the output from your tool [1] >> > > >> [1] >> Parsing USB bus/device: 006/017 >> idVendor: 0x0DC3 iManufacturer: Athena >> idProduct: 0x1004 iProduct: ASEKey CCID >> Found a CCID/ICCD device at interface 0 >> idVendor: 0x0DC3 >> iManufacturer: Athena >> idProduct: 0x1004 >> iProduct: ASEKey CCID >> > > Athena is reusing the same productID for a different product. > > I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It > looks like this device is bogus. > > I can't help (unless I invest a huge amount of time reverse > engineering the Windows driver to see why it works under Windows and > not under Linux). > You should use another token. > > Bye, > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsIt works perfectly.
Maybe your USB token need firmware upgrade. On Mon, Nov 16, 2009 at 10:46 AM, Till Salzgeber <till.salzgeber@...> wrote: > Thanks for the info. > > I suggest one should remove the entry on the opensc wiki then, or at > least put a note that their usb token does not work with opensc :-/ > > Cheers, > - Till > > Ludovic Rousseau wrote: >> 2009/11/12 Till Salzgeber <till.salzgeber@...>: >> >>> Sorry for the delay, here is the output from your tool [1] >>> >> >> >>> [1] >>> Parsing USB bus/device: 006/017 >>> idVendor: 0x0DC3 iManufacturer: Athena >>> idProduct: 0x1004 iProduct: ASEKey CCID >>> Found a CCID/ICCD device at interface 0 >>> idVendor: 0x0DC3 >>> iManufacturer: Athena >>> idProduct: 0x1004 >>> iProduct: ASEKey CCID >>> >> >> Athena is reusing the same productID for a different product. >> >> I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It >> looks like this device is bogus. >> >> I can't help (unless I invest a huge amount of time reverse >> engineering the Windows driver to see why it works under Windows and >> not under Linux). >> You should use another token. >> >> Bye, >> >> > > _______________________________________________ > opensc-user mailing list > opensc-user@... > http://www.opensc-project.org/mailman/listinfo/opensc-user > opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsAre you using the proprietary drivers or the CCID Drivers?
Cheers Alon Bar-Lev wrote: > It works perfectly. > Maybe your USB token need firmware upgrade. > > On Mon, Nov 16, 2009 at 10:46 AM, Till Salzgeber <till.salzgeber@...> wrote: > >> Thanks for the info. >> >> I suggest one should remove the entry on the opensc wiki then, or at >> least put a note that their usb token does not work with opensc :-/ >> >> Cheers, >> - Till >> >> Ludovic Rousseau wrote: >> >>> 2009/11/12 Till Salzgeber <till.salzgeber@...>: >>> >>> >>>> Sorry for the delay, here is the output from your tool [1] >>>> >>>> >>> >>>> [1] >>>> Parsing USB bus/device: 006/017 >>>> idVendor: 0x0DC3 iManufacturer: Athena >>>> idProduct: 0x1004 iProduct: ASEKey CCID >>>> Found a CCID/ICCD device at interface 0 >>>> idVendor: 0x0DC3 >>>> iManufacturer: Athena >>>> idProduct: 0x1004 >>>> iProduct: ASEKey CCID >>>> >>>> >>> Athena is reusing the same productID for a different product. >>> >>> I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It >>> looks like this device is bogus. >>> >>> I can't help (unless I invest a huge amount of time reverse >>> engineering the Windows driver to see why it works under Windows and >>> not under Linux). >>> You should use another token. >>> >>> Bye, >>> >>> >>> >> _______________________________________________ >> opensc-user mailing list >> opensc-user@... >> http://www.opensc-project.org/mailman/listinfo/opensc-user >> >> > > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsCCID.
Although I prefer openct implementation, I tested in the past the pcsc-lite's CCID as-well. On Mon, Nov 16, 2009 at 10:50 AM, Till Salzgeber <till.salzgeber@...> wrote: > Are you using the proprietary drivers or the CCID Drivers? > > Cheers > > Alon Bar-Lev wrote: >> >> It works perfectly. >> Maybe your USB token need firmware upgrade. >> >> On Mon, Nov 16, 2009 at 10:46 AM, Till Salzgeber <till.salzgeber@...> >> wrote: >> >>> >>> Thanks for the info. >>> >>> I suggest one should remove the entry on the opensc wiki then, or at >>> least put a note that their usb token does not work with opensc :-/ >>> >>> Cheers, >>> - Till >>> >>> Ludovic Rousseau wrote: >>> >>>> >>>> 2009/11/12 Till Salzgeber <till.salzgeber@...>: >>>> >>>> >>>>> >>>>> Sorry for the delay, here is the output from your tool [1] >>>>> >>>>> >>>> >>>> >>>>> >>>>> [1] >>>>> Parsing USB bus/device: 006/017 >>>>> idVendor: 0x0DC3 iManufacturer: Athena >>>>> idProduct: 0x1004 iProduct: ASEKey CCID >>>>> Found a CCID/ICCD device at interface 0 >>>>> idVendor: 0x0DC3 >>>>> iManufacturer: Athena >>>>> idProduct: 0x1004 >>>>> iProduct: ASEKey CCID >>>>> >>>>> >>>> >>>> Athena is reusing the same productID for a different product. >>>> >>>> I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It >>>> looks like this device is bogus. >>>> >>>> I can't help (unless I invest a huge amount of time reverse >>>> engineering the Windows driver to see why it works under Windows and >>>> not under Linux). >>>> You should use another token. >>>> >>>> Bye, >>>> >>>> >>>> >>> >>> _______________________________________________ >>> opensc-user mailing list >>> opensc-user@... >>> http://www.opensc-project.org/mailman/listinfo/opensc-user >>> >>> >> >> >> > > opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problemsso I've gotten it to "work" with openct, I can use the "ls" command in
opensc-explorer for example( see [1] for output). yet I cannot initialize the card with pkcs15, see the error [2]. I have "cleaned" the card with the instructions provided earlier (taking out the token when the personalization tool asks for a new user/admin pw). I'm close to ordering a different token, since I'm almost done wasting time with the non working one I have now and I haven't heard from athena in around 1-2 months... Thanks in advance. - Till [1] # opensc-explorer OpenSC Explorer version 0.11.4 OpenSC [3F00]> ls FileID Type Size [5015] DF 0 Name: \xA0\x00\x00\x00cPKCS-15 1000 wEF 1 2222 iEF 16 [2F11] DF 12 001E wEF 15 0001 iEF 16 OpenSC [3F00]> [2] # pkcs15-init -E --reader 0 --so-pin 87654321 --pin 11111111 --erase-card --create-pkcs15 --label "test" --use-default-transport-keys Unblock Code for New User PIN (Optional - press return for no PIN). Please enter User unblocking PIN (PUK): [pkcs15-init] iso7816.c:99:iso7816_check_sw: Conditions of use not satisfied [pkcs15-init] card-asepcos.c:621:asepcos_create_file: unable to set security attributes [pkcs15-init] card.c:367:sc_create_file: returning with: Not allowed Failed to create PKCS #15 meta structure: Not allowed [opensc-tool -l] # opensc-tool -l Readers known about: Nr. Driver Name 0 openct CCID Compatible 1 openct OpenCT reader (detached) 2 openct OpenCT reader (detached) 3 openct OpenCT reader (detached) 4 openct OpenCT reader (detached) Alon Bar-Lev wrote: > CCID. > Although I prefer openct implementation, I tested in the past the > pcsc-lite's CCID as-well. > > On Mon, Nov 16, 2009 at 10:50 AM, Till Salzgeber <till.salzgeber@...> wrote: > >> Are you using the proprietary drivers or the CCID Drivers? >> >> Cheers >> >> Alon Bar-Lev wrote: >> >>> It works perfectly. >>> Maybe your USB token need firmware upgrade. >>> >>> On Mon, Nov 16, 2009 at 10:46 AM, Till Salzgeber <till.salzgeber@...> >>> wrote: >>> >>> >>>> Thanks for the info. >>>> >>>> I suggest one should remove the entry on the opensc wiki then, or at >>>> least put a note that their usb token does not work with opensc :-/ >>>> >>>> Cheers, >>>> - Till >>>> >>>> Ludovic Rousseau wrote: >>>> >>>> >>>>> 2009/11/12 Till Salzgeber <till.salzgeber@...>: >>>>> >>>>> >>>>> >>>>>> Sorry for the delay, here is the output from your tool [1] >>>>>> >>>>>> >>>>>> >>>>> >>>>>> [1] >>>>>> Parsing USB bus/device: 006/017 >>>>>> idVendor: 0x0DC3 iManufacturer: Athena >>>>>> idProduct: 0x1004 iProduct: ASEKey CCID >>>>>> Found a CCID/ICCD device at interface 0 >>>>>> idVendor: 0x0DC3 >>>>>> iManufacturer: Athena >>>>>> idProduct: 0x1004 >>>>>> iProduct: ASEKey CCID >>>>>> >>>>>> >>>>>> >>>>> Athena is reusing the same productID for a different product. >>>>> >>>>> I tested the "ASEDrive CCID" but you are using the "ASEKey CCID". It >>>>> looks like this device is bogus. >>>>> >>>>> I can't help (unless I invest a huge amount of time reverse >>>>> engineering the Windows driver to see why it works under Windows and >>>>> not under Linux). >>>>> You should use another token. >>>>> >>>>> Bye, >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> opensc-user mailing list >>>> opensc-user@... >>>> http://www.opensc-project.org/mailman/listinfo/opensc-user >>>> >>>> >>>> >>> >>> >> > > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token Problemsif erasing the card doesn't work (try pkcs15-init with -E, but
without -C / --create-pkcs15), or you still see the 5015 directory in opensc-explorer after erasing, then the card is not clean. try again with the athena software, if it created those structures, but can't remove them, then there is little opensc can do about it. opensc needs a plain blank card to start with... Regards, Andreas _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
|
|
Re: Athena ASEPCOS USB Key Token ProblemsLooks like I can erase the token [1]. But cannot initialize it [2]?!
(yes I also tried supplying a PUK). Strange... [1] # pkcs15-init -E --reader 0 --so-pin 87654321 --pin 11111111 root@rrr:/home/rrr# opensc-explorer OpenSC Explorer version 0.11.4 OpenSC [3F00]> ls FileID Type Size 1000 wEF 1 2222 iEF 16 [2F11] DF 12 001E wEF 15 0001 iEF 16 OpenSC [3F00]> ________________________________________________________________________________________ [2] root@rrrr:/home/rrrr# pkcs15-init --reader 0 --so-pin 87654321 --pin 11111111 --create-pkcs15 --label "test" --use-default-transport-keys Unblock Code for New User PIN (Optional - press return for no PIN). Please enter User unblocking PIN (PUK): [pkcs15-init] iso7816.c:99:iso7816_check_sw: Conditions of use not satisfied [pkcs15-init] card-asepcos.c:621:asepcos_create_file: unable to set security attributes [pkcs15-init] card.c:367:sc_create_file: returning with: Not allowed Failed to create PKCS #15 meta structure: Not allowed root@rrrr:/home/rrrr# opensc-explorer OpenSC Explorer version 0.11.4 OpenSC [3F00]> ls FileID Type Size [5015] DF 0 Name: \xA0\x00\x00\x00cPKCS-15 1000 wEF 1 2222 iEF 16 [2F11] DF 12 001E wEF 15 0001 iEF 16 OpenSC [3F00]> info Dedicated File ID 3F00 File path: 3F00 File size: 0 bytes ACL for SELECT: N/A ACL for LOCK: N/A ACL for DELETE: NONE ACL for CREATE: NONE ACL for REHABILITATE: NONE ACL for INVALIDATE: NONE ACL for LIST FILES: N/A ACL for CRYPTO: N/A ACL for DELETE SELF: NONE Proprietary attributes: 00 00 50 15 10 00 Security attributes: 80 01 5F 90 00 80 01 20 A0 01 00 OpenSC [3F00]> Andreas Jellinghaus wrote: > if erasing the card doesn't work (try pkcs15-init with -E, but > without -C / --create-pkcs15), or you still see the 5015 > directory in opensc-explorer after erasing, then the card is > not clean. > > try again with the athena software, if it created those > structures, but can't remove them, then there is little > opensc can do about it. opensc needs a plain blank card > to start with... > > Regards, Andreas > > > _______________________________________________ opensc-user mailing list opensc-user@... http://www.opensc-project.org/mailman/listinfo/opensc-user |
| Free embeddable forum powered by Nabble | Forum Help |