Thank you very much!!

Something was corrupt on the system. I've cleared the system upgradiing to
ubuntu 12.04, reinstalled all from source and the debug file has appeared.

Alejandro Díaz Torres
Área de Proyectos
Emergya ConsultoríaTfno: +34 954 51 75 77
Fax: +34 954 51 64 73www.emergya.es




2012/6/14 Douglas E. Engert <[email protected]>

> Is /etc/opensc/opensc.conf world readable?
> Try adding -v -v -v -v to the opensc-tool command.
>
> Debian changes the location of the opensc.conf, so if you compile, it
> might be in /etc/opensc.conf
>
>
> On 06/14/12 02:13, Alejandro Díaz wrote:
> > 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 <[email protected]<mailto:
> [email protected]>>.
> >     Copyright (C) 2001-2010 by Ludovic Rousseau <
> [email protected] <mailto:[email protected]>>.
> >     Copyright (C) 2003-2004 by Damien Sauveron <[email protected]<mailto:
> [email protected]>>.
> >     Report bugs to <[email protected] <mailto:
> [email protected]>>.
> >     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 <[email protected]<mailto:
> [email protected]>>.
> >     Copyright (C) 2001-2010 by Ludovic Rousseau <
> [email protected] <mailto:[email protected]>>.
> >     Copyright (C) 2003-2004 by Damien Sauveron <[email protected]<mailto:
> [email protected]>>.
> >     Report bugs to <[email protected] <mailto:
> [email protected]>>.
> >     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ía
> > Tfno:+34 954 51 75 77  <tel:%2B34%20954%2051%2075%2077>
> > Fax:+34 954 51 64 73  <tel:%2B34%20954%2051%2064%2073>
> > www.emergya.es  <http://www.emergya.es>
> >
> >
> >
> >
> > _______________________________________________
> > opensc-devel mailing list
> > [email protected]
> > http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
> --
>
>  Douglas E. Engert  <[email protected]>
>  Argonne National Laboratory
>  9700 South Cass Avenue
>  Argonne, Illinois  60439
>  (630) 252-5444
> _______________________________________________
> opensc-devel mailing list
> [email protected]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to