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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-05-13T01:16:17+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1878</id>
<entry>
<author><name><![CDATA[pigmonkey]]></name></author>
<updated>2015-05-13T01:16:17+01:00</updated>
<published>2015-05-13T01:16:17+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7310#p7310</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7310#p7310"/>
<title type="html"><![CDATA[Re: &quot;Card not present&quot; with GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7310#p7310"><![CDATA[
Using pcsc_scan I determined which port to specify for the yubikey.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ pcsc_scan -n<br />PC/SC device scanner<br />V 1.4.23 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.12<br />Using reader plug'n play mechanism<br />Scanning present readers...<br />0: Yubico Yubikey NEO OTP+CCID 00 00<br />...<br /></div><br /><br />I changed my scdaemon config, restarted the running gpg-agent and scdaemon, and GPG still reports &quot;card not present&quot;.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ cat ~/.gnupg/scdaemon.conf<br />reader-port &quot;Yubico Yubikey NEO OTP+CCID 00 00&quot;<br />verbose<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3710">pigmonkey</a> — Wed May 13, 2015 1:16 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[pigmonkey]]></name></author>
<updated>2015-05-13T01:02:35+01:00</updated>
<published>2015-05-13T01:02:35+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7309#p7309</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7309#p7309"/>
<title type="html"><![CDATA[&quot;Card not present&quot; with GPG]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1878&amp;p=7309#p7309"><![CDATA[
I am attempting to get my Yubikey Neo working as a smartcard with GnuPG on Arch Linux. I first set it to mode 82:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ ykpersonalize -m82<br />Firmware version 3.4.1 Touch level 1541 Program sequence 1<br /><br />The USB mode will be set to: 0x82<br /><br />Commit? (y/n) &#91;n&#93;: y<br /></div><br /><br />After this, I removed the key and reinserted it. GPG fails to recognize the card.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --card-status<br />gpg: selecting openpgp failed: Card not present<br />gpg: OpenPGP card not available: Card not present<br /></div><br /><br />Following is some version info, in case it is helpful.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ ykinfo -a<br />serial: 3631540<br />serial_hex: 3769b4<br />serial_modhex: eihknf<br />version: 3.4.1<br />touch_level: 1541<br />programming_sequence: 2<br />slot1_status: 1<br />slot2_status: 0<br />vendor_id: 1050<br />product_id: 111<br /><br />$ gpg --version<br />gpg (GnuPG) 2.1.3<br />libgcrypt 1.6.3<br />...<br /></div><br /><br />I'm running this on a Thinkpad laptop, which does have a built-in smartcard reader. I've tried to specify the Yubikey in my scdaemon config using some of the methods I've seen on the forum, but none seem to make any difference.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ cat ~/.gnupg/scdaemon.conf<br />verbose<br />reader-port &quot;Yubico Yubikey NEO OTP+CCID 0&quot;<br />reader-port &quot;Yubico Yubikey NEO OTP+CCID 00 00&quot;<br />reader-port &quot;Yubico Yubikey NEO OTP+CCID 01 00&quot;<br /></div><br /><br />When I insert my yubikey, the light is not on. When I press the button, it outputs a string and the light stays on for a few seconds.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3710">pigmonkey</a> — Wed May 13, 2015 1:02 am</p><hr />
]]></content>
</entry>
</feed>