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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-08-06T20:12:17+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1056</id>
<entry>
<author><name><![CDATA[dreamss]]></name></author>
<updated>2013-08-06T20:12:17+01:00</updated>
<published>2013-08-06T20:12:17+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4211#p4211</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4211#p4211"/>
<title type="html"><![CDATA[Re: Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4211#p4211"><![CDATA[
nm, after I restarted the daemon it works fine. seems i have to kill the dameon if i wanna eject my yubikey. or else it wont ask for a pin when i insert the key<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2122">dreamss</a> — Tue Aug 06, 2013 8:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hiviah]]></name></author>
<updated>2013-07-10T16:41:01+01:00</updated>
<published>2013-07-10T16:41:01+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4129#p4129</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4129#p4129"/>
<title type="html"><![CDATA[Re: Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4129#p4129"><![CDATA[
<div class="quotetitle">Borealid wrote:</div><div class="quotecontent"><br />I tried using an old OmniKey CardMan reader I've got floating around (which I know has contactless smartcard capabilities), but it didn't seem to see the Neo.<br /></div><br /><br />A note on Cardman reader, since it also took me a while to get it running - for NFC it requires binary driver blob to be downloaded from <!-- m --><a class="postlink" href="https://www.hidglobal.com/drivers">https://www.hidglobal.com/drivers</a><!-- m -->. The driver library .so needs then to be placed in /usr/lib64/pcsc/drivers (or /usr/lib/ for x86), the driver zip contains readme file.<br /><br />With that driver blob Neo is recognized fine, also any operation that works via USB CCID also works over NFC.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2457">hiviah</a> — Wed Jul 10, 2013 4:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Borealid]]></name></author>
<updated>2013-06-17T00:32:18+01:00</updated>
<published>2013-06-17T00:32:18+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4059#p4059</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4059#p4059"/>
<title type="html"><![CDATA[Re: Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4059#p4059"><![CDATA[
<div class="quotetitle">spmadden wrote:</div><div class="quotecontent"><br />I'm having similar problems.  What version of the opensc plugin did you have to roll back to get gpshell working?<br /></div><br /><br />Sorry, it was the PC/SC connection plugin. My mistake. OpenSC is not involved here.<br /><br />I used revision 351 from SVN ( <!-- m --><a class="postlink" href="http://sourceforge.net/p/globalplatform/code/351/">http://sourceforge.net/p/globalplatform/code/351/</a><!-- m --> ). I believe this is the only version that will work with the applet posted in the other Yubico linked thread, as it is looking for version 1.0.0 of the library.<br /><br />I use Linux. Building opensc itself was not an issue, but everything involved feels pretty crusty. I ended up using libglobalplatform.so.6+7.0.0 and gpshell 6.0.0, with the above-mentioned gppcscconnectionplugin 1.0.0.<br /><br />EDIT: As an addendum, I had to upgrade my PC/SC (to 1.8.8) to get the Yubikey recognized. Just because it's usable as a USB keyboard (or even as a GPG smartcard!) doesn't mean gpshell can connect to it. You have to be able to see the card when you run pcsc_scan for the gpshell upload to work. I tried using an old OmniKey CardMan reader I've got floating around (which I know has contactless smartcard capabilities), but it didn't seem to see the Neo.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2430">Borealid</a> — Mon Jun 17, 2013 12:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[spmadden]]></name></author>
<updated>2013-06-16T13:29:05+01:00</updated>
<published>2013-06-16T13:29:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4057#p4057</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4057#p4057"/>
<title type="html"><![CDATA[Re: Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4057#p4057"><![CDATA[
I'm having similar problems.  What version of the opensc plugin did you have to roll back to get gpshell working?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2330">spmadden</a> — Sun Jun 16, 2013 1:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Borealid]]></name></author>
<updated>2013-06-14T23:26:14+01:00</updated>
<published>2013-06-14T23:26:14+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4055#p4055</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4055#p4055"/>
<title type="html"><![CDATA[Re: Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=4055#p4055"><![CDATA[
After reading another thread on these forums (at <!-- l --><a class="postlink-local" href="http://forum.yubico.com/viewtopic.php?f=26&amp;t=1074">viewtopic.php?f=26&amp;t=1074</a><!-- l --> ), I was able to reset the PIN.<br /><br />First, I had to compile a whole stack of software to get gpshell working and connect the Yubikey as an OpenSC reader. This required an *old* version of the OpenSC plugin, before they transitioned from autotools to CMake.<br /><br />After I had gpshell up, I sent a new version of the GPG applet to the card. The updated GPG applet wiped the PIN and keys, allowing me to recreate them.<br /><br />After installing the updated applet, I am able to change the PIN with gpg --card-edit without problems.<br /><br />Long story short, if you have problems changing the user PIN in GPG, it is likely due to an older (but shipped!) version of the GPG applet.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2430">Borealid</a> — Fri Jun 14, 2013 11:26 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Borealid]]></name></author>
<updated>2013-05-05T04:20:48+01:00</updated>
<published>2013-05-05T04:20:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1056&amp;p=3952#p3952</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=3952#p3952"/>
<title type="html"><![CDATA[Changing user PIN using GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1056&amp;p=3952#p3952"><![CDATA[
I appear to be unable to either reset the user PIN or regenerate the GPG key without entering it.<br /><br />I'd love to be able to reset this NEO to &quot;factory&quot;. I do know (and did enter) the correct *admin* PIN.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --version<br />gpg (GnuPG) 2.0.19<br />libgcrypt 1.5.0<br />Copyright (C) 2012 Free Software Foundation, Inc.<br />License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;<br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.<br /><br />Home: ~/.gnupg<br />Supported algorithms:<br />Pubkey: RSA, ELG, DSA<br />Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, <br />        CAMELLIA192, CAMELLIA256<br />Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224<br />Compression: Uncompressed, ZIP, ZLIB, BZIP2<br />$ gpg --card-edit<br /><br />scdaemon&#91;20583&#93;: updating slot 0 status: 0x0000-&gt;0x0007 (0-&gt;1)<br />Application ID ...: D2760001240102000000000000010000<br />Version ..........: 2.0<br />Manufacturer .....: test card<br />Serial number ....: 00000001<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 : 3 2 3<br />Signature counter : 5<br />Signature key ....: 4FE2 94B5 4F09 D6F9 DA2F  42B5 6CA8 5536 A7C3 08D6<br />      created ....: 2013-02-10 19:46:03<br />Encryption key....: CA53 7394 CB9C 08F9 AA09  23AD 0985 71BC BC97 27BA<br />      created ....: 2013-02-10 19:46:03<br />Authentication key: 94B5 51E6 D68B 8D83 BAC7  A735 A63C B5C9 B28A ABBB<br />      created ....: 2013-02-10 19:46:03<br />General key info..: <br />pub  2048R/A7C308D6 2013-02-10 ********* (Hardware Token) &lt;***@**.***&gt;<br />sec&gt;  2048R/A7C308D6  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001<br />ssb&gt;  2048R/B28AABBB  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001<br />ssb&gt;  2048R/BC9727BA  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001<br /><br />gpg/card&gt; admin<br />Admin commands are allowed<br /><br />gpg/card&gt; passwd<br />gpg: OpenPGP card no. D2760001240102000000000000010000 detected<br /><br />1 - change PIN<br />2 - unblock PIN<br />3 - change Admin PIN<br />4 - set the Reset Code<br />Q - quit<br /><br />Your selection? 2<br />scdaemon&#91;20583&#93;: 3 Admin PIN attempts remaining before card is permanently locked<br />scdaemon&#91;20583&#93;: DBG: asking for PIN '|A|Please enter the Admin PIN'<br />scdaemon&#91;20583&#93;: DBG: asking for PIN '|N|New PIN'<br />PIN unblocked and new PIN set.<br /><br />1 - change PIN<br />2 - unblock PIN<br />3 - change Admin PIN<br />4 - set the Reset Code<br />Q - quit<br /><br />Your selection? Q<br /><br />gpg/card&gt; verify<br />scdaemon&#91;20583&#93;: DBG: asking for PIN '||Please enter the PIN'<br />scdaemon&#91;20583&#93;: verify CHV2 failed: Card error<br />scdaemon&#91;20583&#93;: app_check_pin failed: Card error<br /><br />Application ID ...: D2760001240102000000000000010000<br />Version ..........: 2.0<br />Manufacturer .....: test card<br />Serial number ....: 00000001<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 : 3 2 3<br />Signature counter : 5<br />Signature key ....: 4FE2 94B5 4F09 D6F9 DA2F  42B5 6CA8 5536 A7C3 08D6<br />      created ....: 2013-02-10 19:46:03<br />Encryption key....: CA53 7394 CB9C 08F9 AA09  23AD 0985 71BC BC97 27BA<br />      created ....: 2013-02-10 19:46:03<br />Authentication key: 94B5 51E6 D68B 8D83 BAC7  A735 A63C B5C9 B28A ABBB<br />      created ....: 2013-02-10 19:46:03<br />General key info..: <br />pub  2048R/A7C308D6 2013-02-10 ********* (Hardware Token) &lt;***@**.***&gt;<br />sec&gt;  2048R/A7C308D6  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001<br />ssb&gt;  2048R/B28AABBB  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001<br />ssb&gt;  2048R/BC9727BA  created: 2013-02-10  expires: never     <br />                      card-no: 0000 00000001 <br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2430">Borealid</a> — Sun May 05, 2013 4:20 am</p><hr />
]]></content>
</entry>
</feed>