Cornelius Kölbel wrote: | Hello, | | I am using pkcs11-tool with the Aladdin's pkcs11-lib. | Many things work out fine. | But when I try to initialize a eTokenPro I get the following output: | | [EMAIL PROTECTED] opensc-0.10.1]# pkcs11-tool --module | /usr/local/lib/libetpkcs11.so --init-token --label testToken | Please enter the new SO PIN: | Please enter the new SO PIN (again): | error: PKCS11 function C_InitToken failed: rv = CKR_DEVICE_ERROR (0x30)
This error message means that the C_InitToken() function implemented in /usr/local/lib/libetpkcs11.so failed with the error CKR_DEVICE_ERROR. In other words, it seems to be a pb/bug that lies in libetpkcs11.so itself. | opensc-pkcs11 looks somehow hardcoded. Is this a reason the --init-token | will not work with third-party pkcs11-libs? | Or is it a matter of the pkcs11-lib I am using? When I implemented the --init-token feature, I used to test it exclusively with 3rd party pkcs11 libs. So there is no reason why it shouldn't work. -- Marc Bevand http://epita.fr/~bevand_m Computer Science School EPITA - System, Network and Security Dept. _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel