From: Frank M. <fra...@gm...> - 2023-04-18 13:08:48
|
Depending on the card you can send an empty VERIFY command (without PIN) and it will return the tries left. However, I don't think we have a dedicated CLI for this. Regards, Frank. Am 18.04.23 um 14:49 schrieb Hans via Opensc-devel: > > Hi all, > > Excuse me for troubling with a trivial question… > > I remember seeing many months ago in the release notes that it was > possible to check the PIN-retry count. > > But, looking for it, (man-pages google) I fail to find it. > (pkcs11-tools / pkcs15-tools / opensc) > > Is my mind playing tricks with me. > > From very long time ago, I remember when doing a PIN-verification by > sending an APDU, you get the PIN-count (and tries-left) back. > > Though that seems a very crude way to do it. > > Met vriendelijke groet, > > *Hans Witvliet, J, Ing., DMO/OPS/I&S/APH, Kennis Team Opensource > Coldenhovelaan 1 Maasland 3531RC Coldehovelaan 1, kamer B213* > > > Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien > u niet de geadresseerde bent of dit bericht abusievelijk aan u is > toegezonden, wordt u verzocht dat aan de afzender te melden en het > bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor > schade, van welke aard ook, die verband houdt met risico's verbonden > aan het elektronisch verzenden van berichten. > > This message may contain information that is not intended for you. If > you are not the addressee or if this message was sent to you by > mistake, you are requested to inform the sender and delete the > message. The State accepts no liability for damage of any kind > resulting from the risks inherent in the electronic transmission of > messages. > > > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel |