-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Marc Bevand schrieb: > 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. > Hello, and thanks for your hints. So I know, where I have to go on looking.
Kind regards Cornelius -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEK2nFtVsWxaSPzvkRA1f0AJ0dclMJVJCy6iFUav1eM3q7umYhogCdFK0g nCowbn5V9fc8HPV8yluw+0o= =XWSy -----END PGP SIGNATURE----- _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel