<?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=26&amp;t=1763" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-03-02T16:30:16+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1763</id>
<entry>
<author><name><![CDATA[Tom2]]></name></author>
<updated>2015-03-02T16:30:16+01:00</updated>
<published>2015-03-02T16:30:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6945#p6945</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6945#p6945"/>
<title type="html"><![CDATA[Re: Resetting gpg smartcard on Yubikey NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6945#p6945"><![CDATA[
There is no smartcard to reset. You want to reset the applet. Read the documentation<br /><br /><!-- m --><a class="postlink" href="https://developers.yubico.com/ykneo-openpgp/ResetApplet.html">https://developers.yubico.com/ykneo-ope ... pplet.html</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3364">Tom2</a> — Mon Mar 02, 2015 4:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[baloo]]></name></author>
<updated>2015-03-01T18:37:11+01:00</updated>
<published>2015-03-01T18:37:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6941#p6941</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6941#p6941"/>
<title type="html"><![CDATA[Re: Resetting gpg smartcard on Yubikey NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6941#p6941"><![CDATA[
<div class="codetitle"><b>Code:</b></div><div class="codecontent">D&#91;0000&#93;  01 00 08 90 00                                     .....           <br />OK<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3562">baloo</a> — Sun Mar 01, 2015 6:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom2]]></name></author>
<updated>2015-02-27T11:07:51+01:00</updated>
<published>2015-02-27T11:07:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6929#p6929</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6929#p6929"/>
<title type="html"><![CDATA[Re: Resetting gpg smartcard on Yubikey NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6929#p6929"><![CDATA[
Show me this please:<br /><br />gpg-connect-agent --hex &quot;scd apdu 00 f1 00 00&quot; /bye<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3364">Tom2</a> — Fri Feb 27, 2015 11:07 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[baloo]]></name></author>
<updated>2015-02-27T08:33:24+01:00</updated>
<published>2015-02-27T08:33:24+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6928#p6928</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6928#p6928"/>
<title type="html"><![CDATA[Resetting gpg smartcard on Yubikey NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1763&amp;p=6928#p6928"><![CDATA[
Hello there, <br /><br />I have a Yubikey NEO bought in October 2014 (with U2F) and I've locked myself out of my smartcard. <br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --card-status <br />Application ID ...: D2760001240102000006030128970000<br />Version ..........: 2.0<br />Manufacturer .....: unknown<br />Serial number ....: 03012897<br />Name of cardholder: &#91;not set&#93;<br />Language prefs ...: &#91;not set&#93;<br />Sex ..............: unspecified<br />URL of public key : &#91;not set&#93;<br />Login data .......: &#91;not set&#93;<br />Signature PIN ....: forced<br />Key attributes ...: 2048R 2048R 2048R<br />Max. PIN lengths .: 127 127 127<br />PIN retry counter : 0 3 0<br />Signature counter : 0<br />Signature key ....: &#91;none&#93;<br />Encryption key....: &#91;none&#93;<br />Authentication key: &#91;none&#93;<br />General key info..: &#91;none&#93;<br /></div><br /><br />I'm unable to reset the smartcard:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpshell gpinstall.txt<br />mode_211<br />enable_trace<br />establish_context<br />card_connect<br />* reader name Yubico Yubikey NEO OTP+U2F+CCID 00 00<br />select -AID a000000003000000<br />Command --&gt; 00A4040008A000000003000000<br />Wrapped command --&gt; 00A4040008A000000003000000<br />Response &lt;-- 6F658408A000000003000000A5599F6501FF9F6E06479112103800734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000<br />open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f<br />Command --&gt; 80CA006600<br />Wrapped command --&gt; 80CA006600<br />Response &lt;-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000<br />Command --&gt; 8050000008C488A323DA720A7F00<br />Wrapped command --&gt; 8050000008C488A323DA720A7F00<br />Response &lt;-- 0000331700773397091202020001AD2C6EC86A9C5A1F7A8AEDAA95B09000<br />mutual_authentication() returns 0x80302000 (The verification of the card cryptogram failed.)<br /></div><br /><br />The keys appears to have changed is there something I can do to sort this out ?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3562">baloo</a> — Fri Feb 27, 2015 8:33 am</p><hr />
]]></content>
</entry>
</feed>