e2dae6b97b
One of the three unblock methods can be activated from the 'opensc-pkcs11' section of opensc.conf: - C_SetPin() in the unlogged sesssion; - C_SetPin() in the CKU_SPECIFIC_CONTEXT session; - C_InitPin() in CKU_SO session (inspired by Pierre Ossman). -- This last one works, for a while, only for the pkcs15 cards without SOPIN auth object. For the pkcs15 cards with SOPIN, this method will be useful for the cards that do not have then modes '00' and '01' of ISO command 'RESET RETRY COUNTER'. Test commands: # pkcs11-tool --module ./opensc-pkcs11.so --slot 0 --unlock-pin --puk "123456" --new-pin "9999" # pkcs11-tool --module ./opensc-pkcs11.so --slot 0 --unlock-pin -l --login-type context-specific --puk "123456" --new-pin "9999" # pkcs11-tool --module ./opensc-pkcs11.so --slot 0 --init-pin -l --new-pin "9999" git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3901 c6295689-39f2-0310-b995-f0e70906c6a9 |
||
---|---|---|
.. | ||
Makefile.am | ||
opensc.conf.in |