PIN-counter

Hans via Opensc-devel <[email protected]> Tue, 18 Apr 2023 12:49:42 +0000
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
--===============8764301330415043536==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_91bb6489e64f48688acc5a3f8697c87cmindefnl_"

--_000_91bb6489e64f48688acc5a3f8697c87cmindefnl_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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 sendin=
g 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 ni=
et de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, =
wordt u verzocht dat aan de afzender te melden en het bericht te verwijdere=
n. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard oo=
k, 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 a=
re 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 n=
o liability for damage of any kind resulting from the risks inherent in the=
 electronic transmission of messages.

--_000_91bb6489e64f48688acc5a3f8697c87cmindefnl_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Segoe UI";
	panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Verdana",sans-serif;
	color:windowtext;
	font-weight:normal;
	font-style:normal;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"NL" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Hi all,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">Excuse me for troubling with a trivi=
al question&#8230;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">I remember seeing many months ago in=
 the release notes that it was possible to check the PIN-retry count.<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">But, looking for it, (man-pages goog=
le) I fail to find it. (pkcs11-tools / pkcs15-tools / opensc)<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">Is my mind playing tricks with me.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">From very long time ago, I remember =
when doing a PIN-verification by sending an APDU, you get the PIN-count (an=
d tries-left) back.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif">Though that seems a very crude way t=
o do it.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Verdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<div style=3D"mso-element:para-border-div;border:none;border-bottom:solid w=
indowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class=3D"MsoNormal" style=3D"border:none;padding:0in"><span lang=3D"EN-U=
S" style=3D"font-size:10.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;co=
lor:#444444;mso-fareast-language:NL"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Se=
goe UI&quot;,sans-serif;color:#444444;mso-fareast-language:NL">Met vriendel=
ijke groet,<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Segoe UI&quot=
;,sans-serif;color:#444444;mso-fareast-language:NL">Hans Witvliet, J, Ing.,=
 DMO/OPS/I&amp;S/APH, Kennis Team Opensource<br>
Coldenhovelaan 1 Maasland 3531RC Coldehovelaan 1, kamer B213<o:p></o:p></sp=
an></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<br>
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u ni=
et de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, =
wordt u verzocht dat aan de afzender te melden en het bericht te verwijdere=
n. De Staat aanvaardt geen aansprakelijkheid
 voor schade, van welke aard ook, die verband houdt met risico's verbonden =
aan het elektronisch verzenden van berichten.
<br>
<br>
This message may contain information that is not intended for you. If you a=
re 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 n=
o liability for damage of any kind
 resulting from the risks inherent in the electronic transmission of messag=
es.
</body>
</html>

--_000_91bb6489e64f48688acc5a3f8697c87cmindefnl_--


--===============8764301330415043536==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8764301330415043536==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

--===============8764301330415043536==--