<?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=2257" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-03-22T11:36:21+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2257</id>
<entry>
<author><name><![CDATA[ssendev]]></name></author>
<updated>2016-03-22T11:35:02+01:00</updated>
<published>2016-03-22T11:35:02+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8477#p8477</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8477#p8477"/>
<title type="html"><![CDATA[Re: PIN retry counter not decrementing on wrong pin]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8477#p8477"><![CDATA[
Ok that was the problem. Interesting.<br /><br />The pdf you linked explained the reset code. For the future reader: It can be used instead of the admin pin to reset the pin. e.g. in cases where a company issues the keys and doesn't provide the admin pin to the user. By default the reset code has a count of 0 so can't be used. It's the middle counter hence it's 3 0 3.<br /><br />What a pity. I would have liked to disable the led (that includes the flash every 8 seconds) except for the flashing when a touch is required. Like it is now it draws a lot of attention to the YubiKey Nano. Maybe it's possible with a future YubiKey. Oh and while I am dreaming it would be nice if different actions like sign, decrypt, authenticate, u2f could use different led colors / flash patterns.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4257">ssendev</a> — Tue Mar 22, 2016 11:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2016-03-22T01:09:37+01:00</updated>
<published>2016-03-22T01:09:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8475#p8475</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8475#p8475"/>
<title type="html"><![CDATA[Re: PIN retry counter not decrementing on wrong pin]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8475#p8475"><![CDATA[
Just a thought, but if you enter a PIN that doesn't meet the minimum requirements (must be at least 6 characters, Admin PIN must be at least 8 characters), it won't count as a failed PIN attempt.<br /><br />OpenPGP on the YubiKey 4 and the YubiKey NEO has a PIN and an Admin PIN. If you lock out the PIN, you can still reset the PIN by providing the Admin PIN (12345678, by default). It's similar to PIN/PUK with PIV, if you're familiar.<br /><br />The YubiKey 4 has no knowledge of &quot;invert LED.&quot;<br /><br />1) The Personalization Tool has a warning when attempting to overwrite slot 1 that it contains a Yubico OTP credential and the action cannot be undone. Salesforce is the only service that currently accepts Yubico OTP but doesn't accept &quot;vv&quot; credentials.<br />2) If the Admin PIN is locked, yes, that is correct. The OpenPGP applet follows these standards - <!-- m --><a class="postlink" href="http://g10code.com/docs/openpgp-card-2.0.pdf">http://g10code.com/docs/openpgp-card-2.0.pdf</a><!-- m --><br />3) There is no counter, so yes it's <em>possible</em> to brute force it. When an access code is set, this is written to the configuration log file that is automatically generated by the Personalization Tool.<br />4) That is correct, the flag has to be set initially when programming a credential.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Tue Mar 22, 2016 1:09 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ssendev]]></name></author>
<updated>2016-03-22T11:36:21+01:00</updated>
<published>2016-03-19T18:38:32+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8466#p8466</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8466#p8466"/>
<title type="html"><![CDATA[[Solved] GPG PIN retry counter not decrementing on wrong pin]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2257&amp;p=8466#p8466"><![CDATA[
I have set up gpg on fedora23 to use a yubikey 4 (4.2.7).<br /><br />It is working and 'gpg2 --card-edit' shows keys as ssb&gt; entering `echo a | gpg2 -e | gpg2` for the first time after inserting the yubikey requires the pin to be entered issuing the command a second time does not. which is expected. <br /><br />Trying it without the key results in `gpg: public key decryption failed: Card error` which should mean that gpg does indeed use the yubikey. <br /><br />But when the key is inserted and a wrong pin is entered `gpg --card-status` still shows a retry counter of 3 0 3. issuing `gpg-connect-agent --hex &quot;scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40&quot; /bye` as suggested by <a href="https://developers.yubico.com/ykneo-openpgp/ResetApplet.html" class="postlink">https://developers.yubico.com/ykneo-openpgp/ResetApplet.html</a> results in a count of 2 0 3<br /><br />I used <a href="https://developers.yubico.com/PGP/Card_edit.html" class="postlink">https://developers.yubico.com/PGP/Card_edit.html</a> to require touch on all gpg actions and enabled forcesig<br /><br />Unrelated to that i have a few other questions.<br /><br />I saw mentions of a puk, reset code but no clear descriptions. Is there a default reset code which could circumvent my pin/admin pin or is it only activated with `gpg2 --card-edit` `passwd` `set Reset Code`.<br /><br />After using gpg the yubikey led glows permanently and the invert led flag seems to have no effect am i doing something wrong or is it not possible to change?<br /><br /><br />A question i wish would be in the faq.<br /><br />What are irreversible actions:<br /><ol style="list-style-type: decimal"><li>Slot 1 contains an otp with cc id which can not be recovered but a new one with a vv id can be generated but there might be services which require a cc id.</li><li>When the gpg pins are entered wrongly 3 times the gpg keys become inaccessible. But it is possible to reset the counter which deletes the current keys</li><li>When an access code is set there is no way to reset it when it is lost (is there a counter similar to gpg or would it be possible to brute force it?)</li><li>When a slot is set without updating enabled its settings can't be changed without also setting a new secret (when dormant and no update is set the slot becomes unusable until a new secret is set?)</li></ol><br />did i miss something irreversible?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4257">ssendev</a> — Sat Mar 19, 2016 6:38 pm</p><hr />
]]></content>
</entry>
</feed>