Re: [opensc-devel] Reading PKCS15 PIN max attempt number

2011-02-21 Thread Martin Paljak
On Feb 22, 2011, at 9:20 AM, Toni Sjoblom - Aventra wrote: > Hi, > >> -Original Message- >> From: opensc-devel-boun...@lists.opensc-project.org > [mailto:opensc-devel-boun...@lists.opensc-project.org] On Behalf Of Andreas > Jellinghaus >> >> not sure about athena, but many cards return

Re: [opensc-devel] Reading PKCS15 PIN max attempt number

2011-02-21 Thread Toni Sjoblom - Aventra
Hi, > -Original Message- > From: opensc-devel-boun...@lists.opensc-project.org [mailto:opensc-devel-boun...@lists.opensc-project.org] On Behalf Of Andreas Jellinghaus > > not sure about athena, but many cards return the number > of tries left, when you try to VERIFY a PIN. so if the > PIN

Re: [opensc-devel] Reading PKCS15 PIN max attempt number

2011-02-21 Thread Andreas Jellinghaus
not sure about athena, but many cards return the number of tries left, when you try to VERIFY a PIN. so if the PIN is wrong, the lower byte or nibble of the return code could be the number of tries left, and you can generate a messagebox from that. Good Luck! Regards, Andreas

[opensc-devel] Reading PKCS15 PIN max attempt number

2011-02-21 Thread Brian Thomas
Greetings: Is it possible to read the configured max number of incorrect PIN attempts configured on a PKCS15 smart card programmatically? We are experiencing an issue with the ATHENA ASE smartcard for Windows OS login. This particular card does not apparently return a "LOCKED" flag when the P