Hello, I am using the pkcs11-tool with Aladdin's pkcs11 lib with an eTokenPro. I can not manage to change the User PIN of the Token: [EMAIL PROTECTED] opensc-0.10.1]# pkcs11-tool --module /usr/local/lib/libetpkcs11.so -c Please enter the current PIN: Please enter the new PIN: Please enter the new PIN again: error: PKCS11 function C_SetPIN failed: rv = CKR_SESSION_READ_ONLY (0xb5) Aborting. But, I can change the User PIN using firefox, where I loaded the very same pkcs11 lib as crypto module. So it seems that the implementation of the pkcs11-lib is correct. Now I take another token, that has _no_ administrator password aka. SO Pin set. Now I can do pkcs11-tool --module /usr/local/lib/libetpkcs11.so --init-pin As the SO-PIN I can enter my user pin and now I can enter a new user pin. Kind regards Cornelius
-- Dipl.-Phys. Cornelius Kölbel (Security Consultant) LSE Leading Security Experts GmbH Postfach 100121, 64201 Darmstadt fon : +49 (0) 6151 / 9067-0 fax: - 299 +49 (0) 561 / 31 66 797 mobil : +49 (0) 160 / 9630 7089 http://www.lsexperts.de mailto:[EMAIL PROTECTED] MAX21-Unternehmensgruppe +-------------------------------------------------------------------------+ Aladdin eToken und Linux? -> http://www.etokenonlinux.org +-------------------------------------------------------------------------+ _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel