Dear Martin,

I cannot lock my Feitian PKI card. Do you think tries left is
implemented in the entersafe driver?

Kind regards,
Jean-Michel


On Thu, 2010-07-01 at 13:28 +0300, Martin Paljak wrote:
> When pkcs15-tool --list-pins shows for a zero tries left:
> PIN [PIN2]
>         Com. Flags: 0x0
>         ID        : 02
>         Flags     : [0x00]
>         Length    : min_len:5, max_len:12, stored_len:12
>         Pad char  : 0x00
>         Reference : 2
>         Type      : ascii-numeric
>         Path      : 
>         Tries left: 3           <--------- the last field of PIN
> information
> 
> for a PIN or if PIN verification fails with CKR_PIN_LOCKED (which is
> SC_ERROR_AUTH_METHOD_BLOCKED in libopensc).
> 
> If triest left is implemented by the driver and available,
> CKF_USER_PIN_LOCKED token flag can also be used to detect a locked PIN
> via PKCS#11. 
-- 
                  Jean-Michel Pouré - Gooze - http://www.gooze.eu

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

Reply via email to