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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-10-14T06:09:38+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2558</id>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2017-10-14T06:09:38+01:00</updated>
<published>2017-10-14T06:09:38+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9863#p9863</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9863#p9863"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9863#p9863"><![CDATA[
Try YubiKey Manager. It typically works when all other options fail:<br /><br /><!-- m --><a class="postlink" href="https://developers.yubico.com/yubikey-manager-qt/Releases/">https://developers.yubico.com/yubikey-m ... /Releases/</a><!-- m --><br /><br />(1) install<br />(2) open Terminal/Command Prompt<br />(3) cd to the YubiKey Manager folder (Windows example: cd c:\Program Files (x86)\Yubico\YubiKey Manager)<br />(4) ykman openpgp reset<br />(5) y / enter to confirm reset<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Sat Oct 14, 2017 6:09 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jcross]]></name></author>
<updated>2017-10-13T13:23:41+01:00</updated>
<published>2017-10-13T13:23:41+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9858#p9858</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9858#p9858"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9858#p9858"><![CDATA[
<strong>After trying hundreds of different things (including items above), this worked for me:</strong><br /><br />Add <div class="codetitle"><b>Code:</b></div><div class="codecontent">shared-access</div><br />To this file: <div class="codetitle"><b>Code:</b></div><div class="codecontent">~/.gnupg/scdaemon.conf</div><br /><br />You may need to then kill all processes (not necessary in my case):<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">killall gpg-agent; killall scdaemon; killall gpg; killall dirmngr; gpgconf --kill all</div><br />And / or insert / remove the Yubikey.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3978">jcross</a> — Fri Oct 13, 2017 1:23 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ddrbt]]></name></author>
<updated>2017-02-17T01:41:19+01:00</updated>
<published>2017-02-17T01:41:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9407#p9407</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9407#p9407"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9407#p9407"><![CDATA[
Thank you, trouble! rebuilding with `--without-libusb` appears to have fixed the problem for me.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4674">ddrbt</a> — Fri Feb 17, 2017 1:41 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[trouble]]></name></author>
<updated>2017-02-14T13:01:09+01:00</updated>
<published>2017-02-14T13:01:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9395#p9395</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9395#p9395"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9395#p9395"><![CDATA[
Found in another thread: if you add ``disable-ccid`` to your $HOME/.gnupg/scdaemon.conf and restart any agents and daemons (``gpgconf --kill gpg-agent &amp;&amp; gpgconf --launch gpg-agent``), it may magically start working for you.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4690">trouble</a> — Tue Feb 14, 2017 1:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[trouble]]></name></author>
<updated>2017-02-14T12:45:18+01:00</updated>
<published>2017-02-14T12:45:18+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9393#p9393</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9393#p9393"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9393#p9393"><![CDATA[
I discovered this morning that the binary (&quot;bottled&quot;) GnuPG 2.1.8 version in homebrew no longer likes Yubikeys.  I haven't had a chance to debug, but building building gnupg21 without libusb appears to fix the problem:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">brew reinstall gnupg21 --without-libusb</div><br /><br />You may also need this in your $HOME/.gnupg/scdaemon.conf:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">pcsc-driver /System/Library/Frameworks/PCSC.framework/PCSC</div><br /><br />GnuPG 2.1.6 &quot;just worked&quot;.<br /><br />With any luck, this reply will encourage someone else to beat me to debugging the problem. <img src="https://forum.yubico.com/images/smilies/icon_e_wink.gif" alt=";-)" title="Wink" /><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4690">trouble</a> — Tue Feb 14, 2017 12:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ddrbt]]></name></author>
<updated>2017-02-12T08:51:12+01:00</updated>
<published>2017-02-12T08:51:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9383#p9383</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9383#p9383"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9383#p9383"><![CDATA[
I'm running macOS Sierra 10.12.3.<br />gpg2 --version gives me this:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg (GnuPG) 2.1.18<br />libgcrypt 1.7.6</div>.<br /><br />I have rebooted my machine as well as killing scdaemon and gpg-agent between attempts.<br /><br />This is what I get:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg-connect-agent --verbose --hex scd apdu 00 44 00 00<br />OK<br />ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />&gt;</div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4674">ddrbt</a> — Sun Feb 12, 2017 8:51 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2017-02-08T21:54:45+01:00</updated>
<published>2017-02-08T21:54:45+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9371#p9371</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9371#p9371"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9371#p9371"><![CDATA[
First try the activate command again, as this is the part that most frequently doesn't take (scd apdu 00 44 00 00). if that doesn't work enable debug and post as much info as you can generated when running the reset script. <br /><br />Also, what is the Operating System and the gpg version? Have you tried killing the gpg-agent/scdaemon processes before attempting to run any more commands (or a full restart)?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Wed Feb 08, 2017 9:54 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ddrbt]]></name></author>
<updated>2017-02-08T04:17:32+01:00</updated>
<published>2017-02-08T04:17:32+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9359#p9359</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9359#p9359"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9359#p9359"><![CDATA[
Thanks for your speedy reply!<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ ykpersonalize -V<br />Firmware version 4.2.8 Touch level 775 Program sequence 3<br />1.17.3<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4674">ddrbt</a> — Wed Feb 08, 2017 4:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2017-02-08T03:22:46+01:00</updated>
<published>2017-02-08T03:22:46+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9358#p9358</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9358#p9358"/>
<title type="html"><![CDATA[Re: [QUESTION] How to reset yubikey 4 nano (instructions fai]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9358#p9358"><![CDATA[
First I would recommend checking the firmware version (you can do this through YubiKey Personalization Tool)<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Wed Feb 08, 2017 3:22 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ddrbt]]></name></author>
<updated>2017-02-08T02:44:44+01:00</updated>
<published>2017-02-08T02:44:44+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9357#p9357</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9357#p9357"/>
<title type="html"><![CDATA[[QUESTION] How to reset yubikey 4 nano (instructions failed)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2558&amp;p=9357#p9357"><![CDATA[
I'm trying to export pgp keys to my yubikey but <div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg2 --card-status</div> gives me this:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg: selecting openpgp failed: Operation not supported by device<br />gpg: OpenPGP card not available: Operation not supported by device<br /></div><br /><br />I have tried to reset my card using the instructions <br />here: <a href="https://developers.yubico.com/ykneo-openpgp/ResetApplet.html" class="postlink">https://developers.yubico.com/ykneo-openpgp/ResetApplet.html</a> <br />and here: <a href="https://forum.yubico.com/viewtopic.php?f=35&amp;t=2193&amp;p=8245&amp;hilit=openpgp+applet+reset" class="postlink">https://forum.yubico.com/viewtopic.php?f=35&amp;t=2193&amp;p=8245&amp;hilit=openpgp+applet+reset</a> to no avail.<br /><br />Attempting to run this: <br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">/hex<br />scd serialno<br />scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40<br />scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40<br />scd apdu 00 e6 00 00<br />scd apdu 00 44 00 00<br />/echo Card has been successfully reset.<br /></div><br /><br />Gives me this:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">ERR 100696144 Operation not supported by device &lt;SCD&gt;<br />gpg-connect-agent: stopping script execution</div><br /><br />Any suggestions?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4674">ddrbt</a> — Wed Feb 08, 2017 2:44 am</p><hr />
]]></content>
</entry>
</feed>