<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=35&amp;t=2290" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-04-27T04:42:55+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2290</id>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2016-04-27T01:31:57+01:00</updated>
<published>2016-04-27T01:31:57+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8574#p8574</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8574#p8574"/>
<title type="html"><![CDATA[Re: [QUESTION] Cannot reset PIN using gpg-connect-agent]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8574#p8574"><![CDATA[
<!-- l --><a class="postlink-local" href="http://forum.yubico.com/viewtopic.php?f=35&amp;t=2193#p8245">viewtopic.php?f=35&amp;t=2193#p8245</a><!-- l --><br /><br />Also, please note that the PIV and OpenPGP applets are completely autonomous and have their own PINs.<br /><br />OpenPGP:<br />default PIN - 123456<br />default Admin PIN - 12345678<br /><br />PIV:<br />default PIN - 123456<br />default PUK - 12345678<br /><br />The PIN and Admin PIN / PUK for both the OpenPGP and PIV applets always begin with a retry counter of 3 each, so if you haven't locked out both the PIN and Admin PIN yourself, you need to do so before attempting to reset the applet.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Wed Apr 27, 2016 1:31 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jerlev]]></name></author>
<updated>2016-04-27T04:42:55+01:00</updated>
<published>2016-04-26T20:54:13+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8573#p8573</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8573#p8573"/>
<title type="html"><![CDATA[[SOLVED] Cannot reset PIN using gpg-connect-agent]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2290&amp;p=8573#p8573"><![CDATA[
The PIN for my Yubikey 4 (nano) is blocked (too many wrong entries). The PUK is also blocked (by default). <br /><br />To reset the PIN I used the instructions provided here (<a href="https://developers.yubico.com/ykneo-openpgp/ResetApplet.html" class="postlink">https://developers.yubico.com/ykneo-openpgp/ResetApplet.html</a>). However it does not seem to work.<br /><br />First I check that the pin is blocked (69 83 confirms that the PIN is blocked, according to <a href="https://lists.gnupg.org/pipermail/gnupg-users/2009-September/037414.html" class="postlink">https://lists.gnupg.org/pipermail/gnupg-users/2009-September/037414.html</a>):<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg-connect-agent --hex<br />&gt; scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />D&#91;0000&#93;  69 83                                              i.              <br />OK<br /></div><br /><br />I then proceed to &quot;terminate&quot; and &quot;reactivate&quot; the card as instructed in either links above:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&gt; scd apdu 00 e6 00 00<br />D&#91;0000&#93;  69 82                                              i.              <br />OK<br />&gt; scd apdu 00 44 00 00<br />D&#91;0000&#93;  90 00                                              ..              <br />OK<br /></div><br /><br />However my PIN remains blocked:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg-connect-agent --hex<br />&gt; scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />D&#91;0000&#93;  69 83                                              i.              <br />OK<br /></div><br /><br />I also tried yubico-piv-tool, but no luck:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">yubico-piv-tool -a reset<br />Reset failed, are pincodes blocked?<br /></div><br /><br />I must be missing something obvious. Any ideas?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4301">jerlev</a> — Tue Apr 26, 2016 8:54 pm</p><hr />
]]></content>
</entry>
</feed>