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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-04-20T20:36:09+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2599</id>
<entry>
<author><name><![CDATA[jlr]]></name></author>
<updated>2017-03-27T07:51:14+01:00</updated>
<published>2017-03-27T07:51:14+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9501#p9501</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9501#p9501"/>
<title type="html"><![CDATA[Re: [SOLVED] unknown status error when using subkeys on neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9501#p9501"><![CDATA[
I got it to work, with help of Yubico's Matthew.<br /><br />I booted a kubuntu live OS, and installed the packages as listed by Simon (backports unnecessary).<br /><br />I restored the secrets from my backup. I then moved the subkeys to the Neo, overwriting the old subkeys on the Neo.<br /><br />That resolved all the issues.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">kubuntu@kubuntu:~$ echo &quot;secret demo message.&quot; | gpg -aser my@email.addr<br />-----BEGIN PGP MESSAGE-----<br /><br />hQEMA1Vwruc5f1VdAQf7BLS//ZhaFTVUPpD17tlMLjHEjgA/M6+8ME8keSBLm6o1<br />CPa6Ipqlrpi26UuOEtmFMeTfFOxdLvMBm+cPM4NOnGtVHRYnMcuWLh2lxtuS8QSm<br />qtaRuBjAw4+nruIPuQLZCNLzi1dZULrpGxb4PGCB4fzrcFzCcPKKPbbUkiH+GWS+<br />ucbbwK8gBR+zX5vUn81tVT26CrXqO/nNovrqtnRf1ADs9J/KFgBSQJkRUaLK6he8<br />YQ1EIuTDMuh0LQ/AQyvzpEnL3+IsyZRctDL4ZvU0h87OaqKnbqoG9Lt17YxTq0qt<br />Is5iVnW99qxyJHUFGCl7PM0xUjkznhAoLCnfT+V63dLAuwGQxKZ+6IzAyKVrcNCc<br />mkEU4f/Y0z1Z/eIYZdm9MDS50c6ltw6RaHelTK6VLb64LLzNa2tLWZME5E8BjgqU<br />fot0eOW0GIILvLG8rXnwCO6JtGzOGqqdivCQlXX/ZPy6dC9QLPhw6K2su26So2kV<br />roIT/2mAPlJe1R+7yv9XADdJ6kAjbwAwwBDYhCuJ3FT7Bji3ag+RA0WP4KWx+EoJ<br />yNWkW0XftUreSsD3V7JUY6gB+KYCohcZ1rpdRrJ5S3LpYibx0mIHI7/Lo+6q7S+2<br />hstYqUqTZO7Dak7sSxMbMKYlfYKI+yBhwHXqi8bd4FEi1Epi+JLmegwhxRgsf2Z+<br />awgGzZVoDcqortMTD+Ew74DX3bafv3+XgxtqwPfFeaE5Mr5vYhDTKGQ7sYifBVXH<br />SdpaaiUw5iZNJM2YZXd0XA22PTL4C5VsUKHdJ+lKrSOCXG9otefVkgJibwSs4E/O<br />QWitH5h5kXZ5SFpjQ7aLnxz0yjLOUFtzbbuVLj4=<br />=Tohz<br />-----END PGP MESSAGE-----<br />kubuntu@kubuntu:~$</div><br /><br /><img src="https://forum.yubico.com/images/smilies/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4733">jlr</a> — Mon Mar 27, 2017 7:51 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jlr]]></name></author>
<updated>2017-04-20T20:33:58+01:00</updated>
<published>2017-03-23T02:14:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9492#p9492</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9492#p9492"/>
<title type="html"><![CDATA[Re: [QUESTION] unknown status error when using subkeys on ne]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9492#p9492"><![CDATA[
One more note: specifying the specific subkey for signing does not solve the problem:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">PS &gt; gpg --armor -su signingSubKeyID .\demo.txt<br />File `.\\demo.txt.asc' exists. Overwrite? (y/N) y<br />gpg: signing failed: Card error<br />gpg: signing failed: Card error</div><br /><br />I contacted Yubico support today. Hopefully they'll be able to help. I hope I just overlooked something silly!<br /><br />The encryption works all fine and dandy, which is cool. So I'm close to having this all working...<br /><br />I'll leave you all alone until I can mark this topic as solved. Thanks for looking, and sorry for the updates.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4733">jlr</a> — Thu Mar 23, 2017 2:14 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jlr]]></name></author>
<updated>2017-04-20T20:36:09+01:00</updated>
<published>2017-03-17T22:49:39+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9477#p9477</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9477#p9477"/>
<title type="html"><![CDATA[Re: [QUESTION] unknown status error when using subkeys on ne]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9477#p9477"><![CDATA[
OK, i figured out that i can encrypt and decrypt. but i can't sign. signing throws the error. and once signing throws the error, i can't encrypt again until i pull the card, kill gpg2-agent, and reinsert the card.<br /><br />anyone know why this may be happening?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4733">jlr</a> — Fri Mar 17, 2017 10:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jlr]]></name></author>
<updated>2017-04-20T20:32:17+01:00</updated>
<published>2017-03-15T20:56:47+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9474#p9474</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9474#p9474"/>
<title type="html"><![CDATA[Re: [QUESTION] unknown status error when using subkeys on ne]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9474#p9474"><![CDATA[
windows logs this for scdaemon:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">2017-03-15 12:55:51 scdaemon&#91;6132&#93; detected reader `Yubico Yubikey NEO OTP+U2F+CCID 0'<br />2017-03-15 12:55:51 scdaemon&#91;6132&#93; pcsc_control failed: invalid PC/SC error code (0x1)<br />2017-03-15 12:55:51 scdaemon&#91;6132&#93; pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65547<br />2017-03-15 12:55:52 scdaemon&#91;6132&#93; updating slot 0 status: 0x0000-&gt;0x0007 (0-&gt;1)<br />2017-03-15 12:55:52 scdaemon&#91;6132&#93; triggering event e4 (000000E4) for client -1<br />2017-03-15 12:55:52 scdaemon&#91;6132&#93; signatures created so far: 0<br />2017-03-15 12:55:52 scdaemon&#91;6132&#93; DBG: asking for PIN '||Please enter the PIN%0A&#91;sigs done: 0&#93;'<br />2017-03-15 12:55:59 scdaemon&#91;6132&#93; apdu_send_simple(0) failed: unknown status error<br />2017-03-15 12:55:59 scdaemon&#91;6132&#93; app_sign failed: Card error<br /></div><br /><br />then some of the information is missing, including counters:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg/card&gt; quit<br />PS &gt; gpg --card-status<br />Application ID ...: (. . .)<br />Version ..........: 2.0<br />Manufacturer .....: Yubico<br />Serial number ....: (. . .)<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 .......: (. . .)<br />Signature PIN ....: forced<br />Key attributes ...: 2048R 2048R 2048R<br />Max. PIN lengths .: 0 0 0<br />PIN retry counter : 0 0 0<br />Signature counter : 0<br />Signature key ....: (. . .)<br />      created ....: 2017-03-11 15:44:33<br />Encryption key....: (. . .)<br />      created ....: 2017-03-11 16:09:22<br />Authentication key: (. . .)<br />      created ....: 2017-03-11 16:09:58<br />General key info..: sub  2048R/(. . .) 2017-03-11 (. . .)<br />sec#  4096R/(. . .)   created: 2017-03-11  expires: never<br />ssb&gt;  2048R/(. . .)  created: 2017-03-11  expires: 2018-03-11<br />                      card-no: (. . .)<br />ssb&gt;  2048R/(. . .)  created: 2017-03-11  expires: 2018-03-11<br />                      card-no: (. . .)<br />ssb&gt;  2048R/(. . .)  created: 2017-03-11  expires: 2018-03-11<br />                      card-no: (. . .)<br />PS &gt;</div><br /><br />so strange.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4733">jlr</a> — Wed Mar 15, 2017 8:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jlr]]></name></author>
<updated>2017-04-20T20:30:56+01:00</updated>
<published>2017-03-14T05:40:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9461#p9461</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9461#p9461"/>
<title type="html"><![CDATA[[SOLVED] unknown status error when using subkeys on neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2599&amp;p=9461#p9461"><![CDATA[
i followed <a href="https://blog.josefsson.org/2014/06/23/offline-gnupg-master-key-and-subkeys-on-yubikey-neo-smartcard/" class="postlink">josefsson's</a> instructions for setting up a neo with pgp subkeys on debian.<br /><br />everything seemed to work perfectly. but i cannot seem to sign or encrypt on windows (usb) or debian (usb) or android (usb|nfc). debian seems to be the most descriptive of all:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --clearsign demo.txt <br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />gpg: signatures created so far: 0<br /><br />Please enter the PIN<br />&#91;sigs done: 0&#93;<br />gpg: apdu_send_simple(0) failed: unknown status error<br />gpg: signing failed: general error<br />gpg: demo.txt: clearsign failed: general error<br />$</div><br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --card-status<br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />(. . .)<br />Max. PIN lengths .: 127 127 127<br />PIN retry counter : 3 3 3<br />Signature counter : 0<br />(. . .)</div><br /><br />if i enter the wrong pin, it throws a different error, and decrements the respective counter:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --clearsign demo.txt <br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />gpg: signatures created so far: 0<br /><br />Please enter the PIN<br />&#91;sigs done: 0&#93;<br />gpg: verify CHV1 failed: general error<br />gpg: signing failed: general error<br />gpg: demo.txt: clearsign failed: general error<br />$ gpg --card-status<br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />(. . .)<br />Max. PIN lengths .: 127 127 127<br />PIN retry counter : 2 3 3<br />Signature counter : 0<br />(. . .)</div><br /><br />so i know the problem is not that i am entering the wrong pin.<br /><br />are there complexity requirements on the pin that may not be met? my user pin is 6 digits, admin pin is 8 digits.<br /><br />please help! many thanks.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4733">jlr</a> — Tue Mar 14, 2017 5:40 am</p><hr />
]]></content>
</entry>
</feed>