Hi all!! I need enable debugging on OpenSC, but I can't do it.
I've tested with Ubuntu Oneiric package (opensc_0.12.1-1ubuntu1_amd64.deb) ~$ opensc-tool --info opensc 0.12.1 [gcc 4.6.1] Enabled features: zlib openssl pcsc(/lib/libpcsclite.so.1) ~$ pcscd --version pcsc-lite version 1.7.2. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2010 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <mus...@lists.musclecard.com>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d And compiling and installing from last source on github: $ opensc-tool --info opensc 0.12.3-pre1 [gcc 4.6.1] Enabled features: zlib readline openssl pcsc(libpcsclite.so.1) $ pcscd --version pcsc-lite version 1.7.2. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2010 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <mus...@lists.musclecard.com>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d ~$ pkcs11-tool --login --test --module /usr/lib/opensc-pkcs11.so Using slot 1 with a present token (0x1) Logging in to "Alejandro Díaz (User PIN)". Please enter User PIN: C_SeedRandom() and C_GenerateRandom(): seeding (C_SeedRandom) not supported seems to be OK Digests: all 4 digest functions seem to work MD5: OK SHA-1: OK RIPEMD160: OK Signatures (currently only RSA signatures) testing key 0 (Private Key) all 4 signature functions seem to work testing signature mechanisms: RSA-X-509: OK RSA-PKCS: OK SHA1-RSA-PKCS: OK MD5-RSA-PKCS: OK RIPEMD160-RSA-PKCS: OK testing key 1 (2048 bits, label=Private Key) with 1 signature mechanism MD5-RSA-PKCS: OK testing key 2 (2048 bits, label=Private Key) with 1 signature mechanism MD5-RSA-PKCS: OK Verify (currently only for RSA): testing key 0 (Private Key) RSA-X-509: OK RSA-PKCS: OK SHA1-RSA-PKCS: OK MD5-RSA-PKCS: OK RIPEMD160-RSA-PKCS: OK testing key 1 (Private Key) with 1 mechanism RSA-X-509: OK testing key 2 (Private Key) with 1 mechanism RSA-X-509: OK Unwrap: not implemented Decryption (RSA) testing key 0 (Private Key) -- can't be used to decrypt, skipping testing key 1 (Private Key) -- can't be used to decrypt, skipping testing key 2 (Private Key) RSA-X-509: OK RSA-PKCS: OK No errors ~$ opensc-tool -s 00:c0:00::00 Using reader with a card: C3PO LTC31 (80060327) 00 00 Sending: 00 C0 00 00 00 Received (SW1=0x90, SW2=0x00): 6F 0E 84 07 00 00 00 70 D2 50 01 A5 03 88 01 00 o......p.P...... When i use pkcs11-tool test, opensc-tool or use the card from Firefox all work fine: ~$ opensc-tool -n Using reader with a card: C3PO LTC31 (80060327) 00 00 entersafe but the debug file does not appear at /tmp dir. I've edited /etc/opensc/opensc.conf file as the attached files. Can you help me? Thanks! Alejandro Díaz Torres Área de Proyectos Emergya ConsultoríaTfno: +34 954 51 75 77 Fax: +34 954 51 64 73www.emergya.es
opensc.conf_from_github
Description: Binary data
opensc.conf_deb
Description: Binary data
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel