2009/9/23 Marc Rios Vallès <m...@c3po.es>: > Hi to everybody, Hello,
> I'm having some troubles trying to access to one card with TokenD. I'm making > the tests with snow leopard but in 32bit pc so it must not be a problem of > 64bits. The log I get in the test is this: > > pkcs11-tool --module /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so -tl > C_SeedRandom() and C_GenerateRandom(): > seeding (C_SeedRandom) not supported > ERR: C_GenerateRandom failed: CKR_FUNCTION_NOT_SUPPORTED (0x54) > Digests: not implemented > Signatures (currently only RSA signatures) > testing key 0 (prueba prueba's VeriSign, Inc. ID) > Note: C_SignUpdate(), SignFinal() not supported > error: PKCS11 function C_Sign failed: rv = CKR_FUNCTION_FAILED (0x6) > > Aborting. > > Is it any way to view the opensc debug logs to see where can be the error? Why do you think you need to view OpenSC debug logs? The PKCS#11 lib you are using is not from OpenSC but from Apple. $ ./pkcs11-tool --module /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so --show-info Cryptoki version 2.20 Manufacturer Apple Library Apple PKCS #11 module (ver 0.1) This PKCS#11 library uses tokend as lower level access to the cards. It has nothing to do with OpenSC or SCA. Bye -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel