Re: PIN-counter

Frank Morgner <[email protected]> Tue, 18 Apr 2023 15:08:39 +0200
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7000463383572086222==
Content-Type: multipart/alternative;
 boundary="------------bRA9I3ypydI0wLppXyWJYKmO"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------bRA9I3ypydI0wLppXyWJYKmO
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel
--------------bRA9I3ypydI0wLppXyWJYKmO
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>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.</p>
    <p>Regards, Frank.<br>
    </p>
    <div class="moz-cite-prefix">Am 18.04.23 um 14:49 schrieb Hans via
      Opensc-devel:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <div class="WordSection1">
        <p class="MsoNormal"><span>Hi all,</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span lang="EN-US">Excuse me for troubling
            with a trivial question…</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">I remember seeing many
            months ago in the release notes that it was possible to
            check the PIN-retry count.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">But, looking for it,
            (man-pages google) I fail to find it. (pkcs11-tools /
            pkcs15-tools / opensc)</span></p>
        <p class="MsoNormal"><span lang="EN-US">Is my mind playing
            tricks with me.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">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.</span></p>
        <p class="MsoNormal"><span lang="EN-US">Though that seems a very
            crude way to do it.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <div>
          <p class="MsoNormal"><span lang="EN-US"> </span></p>
        </div>
        <p class="MsoNormal"><span>Met vriendelijke groet,</span></p>
        <p class="MsoNormal"><b><span>Hans Witvliet, J, Ing.,
              DMO/OPS/I&amp;S/APH, Kennis Team Opensource<br>
              Coldenhovelaan 1 Maasland 3531RC Coldehovelaan 1, kamer
              B213</span></b></p>
        <p class="MsoNormal"> </p>
      </div>
      <br>
      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.
      <br>
      <br>
      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.
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Opensc-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/opensc-devel">https://lists.sourceforge.net/lists/listinfo/opensc-devel</a>
</pre>
    </blockquote>
  </body>
</html>

--------------bRA9I3ypydI0wLppXyWJYKmO--


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


--===============7000463383572086222==
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

--===============7000463383572086222==--