Hi, my name is Matteo Nastasi and I'm a software developer from Milan (Italy).
I have problem with the official Region sponsored smart card reader and the replacement of my old "Carta Regionale dei Servizi" a smart-card that enable a suite of web services. The same smr with Windows works fine. I'm very angry about this fact. If you explain me how I can compare USB messages on both the systems to debug the problem I'm here. At opensc level the problem is that at: 0x40a80950 07:25:21.940 [opensc-pkcs11] apdu.c:399:do_single_transmit: unable to transmit APDU the low level reply is only 1 byte instead 2. Below all logs. VERSIONS: no ccid driver are installed, instead of it I have: ii libacr38u 1.7.10-1 ii libpcsclite-dev 1.5.3-1ubuntu4.1 ii libpcsclite1 1.5.3-1ubuntu4.1 ii pcscd 1.5.3-1ubuntu4.1 Name of the sc-reader: Bus 001 Device 008: ID 072f:9000 Advanced Card Systems, Ltd ACR38 AC1038-based Smart Card Reader /usr/sbin/pcscd --version pcsc-lite version 1.5.3. Copyright (C) 1999-2002 by David Corcoran <[email protected]>. Copyright (C) 2001-2008 by Ludovic Rousseau <[email protected]>. Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>. Report bugs to <[email protected]>. Enabled features: Linux libusb usbdropdir=/usr/lib/pcsc/drivers confdir=/etc ipcdir=/var/run/pcscd PLATFORM: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.1 LTS Release: 10.04 Codename: lucid I tried with debian Lenny with the same results. Middleware: opensc: version post 0.12.0 rc2 (I found a trivial bug and fix it) Reader: bit4id of "Regione Lombardia" Allegated the pcscd.log. In the opensc log when I try to autenticate with browser to my https site I read: 0x40a80950 07:25:21.520 [opensc-pkcs11] reader-pcsc.c:175:pcsc_internal_transmit: called 0x40a80950 07:25:21.940 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: unable to transmit 0x40a80950 07:25:21.940 [opensc-pkcs11] apdu.c:399:do_single_transmit: unable to transmit APDU 0x40a80950 07:25:21.940 [opensc-pkcs11] card.c:329:sc_unlock: called 0x40a80950 07:25:21.940 [opensc-pkcs11] iso7816.c:843:iso7816_decipher: APDU transmit failed: -1213 (Unknown data received from card) 0x40a80950 07:25:21.940 [opensc-pkcs11] sec.c:42:sc_decipher: returning with: -1213 (Unknown data received from card) 0x40a80950 07:25:21.940 [opensc-pkcs11] card.c:329:sc_unlock: called 0x40a80950 07:25:21.940 [opensc-pkcs11] pkcs15-sec.c:155:sc_pkcs15_decipher: sc_decipher() failed: -1213 (Unknown data received from card) 0x40a80950 07:25:21.940 [opensc-pkcs11] card.c:329:sc_unlock: called 0x40a80950 07:25:21.940 [opensc-pkcs11] reader-pcsc.c:540:pcsc_unlock: called 0x40a80950 07:25:21.942 [opensc-pkcs11] framework-pkcs15.c:2598:pkcs15_prkey_sign: Sign complete. Result -1213. 0x40a80950 07:25:21.942 [opensc-pkcs11] misc.c:59:sc_to_cryptoki_error_common: libopensc return value: -1213 (Unknown data received from card) 0x40a80950 07:25:21.942 [opensc-pkcs11] pkcs11-object.c:618:C_Sign: C_Sign() = CKR_GENERAL_ERROR How can I solve this problem ? Best regards, Matteo Nastasi. -- email: [email protected], [email protected] web: www.alternativeoutput.it irc: #[email protected]
pcscd.log.gz
Description: Binary data
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
