2009/9/4 JP Szikora <jean-pierre.szik...@uclouvain.be>: > Timothy J. Miller a écrit : >> On 9/4/2009 2:12 AM, JP Szikora wrote: >>> Have you problems with the latest SCA (0.2.7) on Snow Leopard? >> >> Tokend crashes and the PKCS#11 module fails (but doesn't kill the >> hosting process). > Hi Tim, > > Tokend probably needs to be 64bits. I'm surprised for the PKCS11 module...
The PKCS#11 should not crash if it is a 32-bits plugin and the application (like Firefox) is also 32-bits. > Can you test the PKCS11 module with this command: > /Library/OpenSC/bin/pkcs11-tool -tl --module > /Library/OpenSC/lib/opensc-pkcs11.so This is not directly related to the problem but Apple now provides a PKCS#11 in /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so If I am correct this is a PKCS#11 that works _above_ CDSA so is using indirectly any tokend. The idea is to be able to use a smart card in PKCS#11 applications (Firefox for example) without conflicts at the smart card and/or PC/SC level. The source code of this PKCS#11 is available at http://smartcardservices.macosforge.org/trac/browser/branches/tokend/pk11-0009/TokendPKCS11 $ ./pkcs11-tool --module /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so -I Cryptoki version 2.20 Manufacturer Apple Library Apple PKCS #11 module (ver 0.1) $ ./pkcs11-tool --module /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so -LAvailable slots: Slot 0 (empty) Slot 1 (empty) Slot 2 (empty) Slot 3 (empty) $ ./pkcs11-tool --module /usr/libexec/SmartCardServices/pkcs11/tokendPKCS11.so -M error: PKCS11 function C_GetMechanismList failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0) Aborting. Bye -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel