Javier Manzano Valdearenas a écrit :
Hi Jean,

I have compiled my own version of SCA and tried yours. Both are giving me a little error on loading opensc-pkcs11.so file.
I try pkcs11-tool and gives me the following error.

./pkcs11-tool -lO

error: Failed to load pkcs11 module
Hola Javier,

You're right, you need to give the path to the pkcs11 lib with the --module option:
./pkcs11-tool -lO --module /Library/OpenSC/lib/opensc-pkcs11.so


I try loading the "/Library/OpenSC/lib/opensc-pkcs11.so" module in Firefox and gives me a can't load the module error.
To load the lib in Firefox, you need certainly to have a card reader connected, and maybe a card inserted. Can you try?

Then I copy the opensc-pkcs11.so file to /usr/local/lib and all works fine.
I 've no explanation. Can you give more infos about your setup. Which processor? card reader? card?

I have been searching in the opensc source with no luck, any idea?

Salutations,

Adiós,

Jean-Pierre
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to