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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-06-03T21:28:58+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2132</id>
<entry>
<author><name><![CDATA[SirJ]]></name></author>
<updated>2016-06-03T21:28:58+01:00</updated>
<published>2016-06-03T21:28:58+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8679#p8679</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8679#p8679"/>
<title type="html"><![CDATA[Re: [QUESTION] Yubikey 4 OpenPGP Applet not working]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8679#p8679"><![CDATA[
What I've found on my Windows 10 PC is that Yubikey NEO Manager 1.4 shows an entry YubiKey NEO under Devices for every card reader I have in the system. When programming your NEO via GPShell the wrong reader gets selected and you get that error when reader can not respond to command <em>select -AID a000000003000000</em> that calls <em>Card Manage</em> app. Probably because there is no app like that and you see it in the error.<br /><br />I've called <em>certutil -scinfo</em> command in Windows to get information about card readers available in the system. It turned out that my Virtual Smartcard was one of them. That was easy as it sits in appropriate branch of Device Manager - under Smart Card Readers. Disabled it. Hard to find was another reader. A software reader. You will see it as a GUID in the <em>certutil </em>output. In Device Manager you have to select View -&gt; Show hidden devices to see Software Devices branch. Then find that GUID and disable it too.<br /><br />gpshell works fine after that.<br /><br />good luck<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2416">SirJ</a> — Fri Jun 03, 2016 9:28 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[plad0n]]></name></author>
<updated>2016-03-05T23:49:13+01:00</updated>
<published>2016-03-05T23:49:13+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8439#p8439</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8439#p8439"/>
<title type="html"><![CDATA[Re: [QUESTION] Yubikey 4 OpenPGP Applet not working]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8439#p8439"><![CDATA[
I have the very same problem and i can tell that under windows as well as under linux (where i'm pretty sure nothing else accesses the card) the gpshell responses by the error described above. help would be appreciated.<br /><br />Edit:<br />2016-03.05 23:49<br />to be correct, under linux the error message is one else:<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 />list_readers failed with error 0x8010002E (Cannot find a smart card reader.)<br /></div><br /><br />2016-03.05 00:29<br />Now i found out that for linux by executing the script <!-- m --><a class="postlink" href="https://raw.githubusercontent.com/Yubico/yubikey-neo-manager/master/resources/linux-fix-ccid-udev">https://raw.githubusercontent.com/Yubic ... -ccid-udev</a><!-- m --> the error message has changed to the exact same message as under windows.<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 -readerNumber 1<br />select -AID a000000003000000<br />Command --&gt; 00A4040008A000000003000000<br />Wrapped command --&gt; 00A4040008A000000003000000<br />Response &lt;-- 6A82<br />select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)<br /></div><br /><br />regards,<br />plad0n<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4240">plad0n</a> — Sat Mar 05, 2016 11:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mouse008]]></name></author>
<updated>2016-01-04T04:32:39+01:00</updated>
<published>2016-01-04T04:32:39+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8108#p8108</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8108#p8108"/>
<title type="html"><![CDATA[Re: [QUESTION] Yubikey 4 OpenPGP Applet not working]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8108#p8108"><![CDATA[
I suspect that something else on your machine opens/connects-to the card first, and then gpg refuses to connect to it because it considers it &quot;busy&quot;. Reason - GnuPG stupidly (and by design) enforces the requirement that only one application can access the card.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4029">mouse008</a> — Mon Jan 04, 2016 4:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tequir00t]]></name></author>
<updated>2015-12-21T11:30:47+01:00</updated>
<published>2015-12-21T11:30:47+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8087#p8087</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8087#p8087"/>
<title type="html"><![CDATA[[QUESTION] Yubikey 4 OpenPGP Applet not working]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2132&amp;p=8087#p8087"><![CDATA[
Hello!<br /><br />I've got some strange problems with my new shiny Yubikey 4. gpg doesn't detect it:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg --debug-level guru --card-status<br />gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing cardio ipc clock lookup extprog<br />gpg: DBG: &#91;not enabled in the source&#93; start<br />gpg: DBG: chan_3 &lt;- OK Pleased to meet you, process 19168<br />gpg: DBG: connection to agent established<br />gpg: DBG: chan_3 -&gt; RESET<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION ttyname=/dev/pts/9<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION ttytype=xterm-256color<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION display=:0<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION xauthority=/home/daniel/.Xauthority<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION putenv=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION lc-ctype=en_US.utf8<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION lc-messages=en_US.utf8<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION allow-pinentry-notify<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; OPTION agent-awareness=2.1.0<br />gpg: DBG: chan_3 &lt;- OK<br />gpg: DBG: chan_3 -&gt; AGENT_ID<br />gpg: DBG: chan_3 &lt;- ERR 67109139 Unknown IPC command &lt;GPG Agent&gt;<br />gpg: DBG: chan_3 -&gt; SCD SERIALNO openpgp<br />gpg: DBG: chan_3 &lt;- ERR 100663356 Not supported &lt;SCD&gt;<br />gpg: OpenPGP card not available: Not supported<br />gpg: DBG: &#91;not enabled in the source&#93; stop<br />gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0<br />              outmix=0 getlvl1=0/0 getlvl2=0/0<br />gpg: secmem usage: 0/32768 bytes in 0 blocks<br /></div><br /><br />This looks like the OpenPGP applet was not installed.<br />lsusb -v output:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Bus 001 Device 015: ID 1050:0405 Yubico.com<br />Device Descriptor:<br />  bLength                18<br />  bDescriptorType         1<br />  bcdUSB               2.00<br />  bDeviceClass            0<br />  bDeviceSubClass         0<br />  bDeviceProtocol         0<br />  bMaxPacketSize0        64<br />  idVendor           0x1050 Yubico.com<br />  idProduct          0x0405<br />  bcdDevice            4.1a<br />  iManufacturer           1 Yubico<br />  iProduct                2 Yubikey 4 OTP+CCID<br />  iSerial                 0<br />  bNumConfigurations      1<br />  Configuration Descriptor:<br />    bLength                 9<br />    bDescriptorType         2<br />    wTotalLength          118<br />    bNumInterfaces          2<br />    bConfigurationValue     1<br />    iConfiguration          0<br />    bmAttributes         0x80<br />      (Bus Powered)<br />    MaxPower               30mA<br />    Interface Descriptor:<br />      bLength                 9<br />      bDescriptorType         4<br />      bInterfaceNumber        0<br />      bAlternateSetting       0<br />      bNumEndpoints           1<br />      bInterfaceClass         3 Human Interface Device<br />      bInterfaceSubClass      1 Boot Interface Subclass<br />      bInterfaceProtocol      1 Keyboard<br />      iInterface              0<br />        HID Device Descriptor:<br />          bLength                 9<br />          bDescriptorType        33<br />          bcdHID               1.10<br />          bCountryCode            0 Not supported<br />          bNumDescriptors         1<br />          bDescriptorType        34 Report<br />          wDescriptorLength      71<br />         Report Descriptors:<br />           ** UNAVAILABLE **<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0x81  EP 1 IN<br />        bmAttributes            3<br />          Transfer Type            Interrupt<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0x0008  1x 8 bytes<br />        bInterval              10<br />    Interface Descriptor:<br />      bLength                 9<br />      bDescriptorType         4<br />      bInterfaceNumber        1<br />      bAlternateSetting       0<br />      bNumEndpoints           3<br />      bInterfaceClass        11 Chip/SmartCard<br />      bInterfaceSubClass      0<br />      bInterfaceProtocol      0<br />      iInterface              0<br />      ChipCard Interface Descriptor:<br />        bLength                54<br />        bDescriptorType        33<br />        bcdCCID              1.00<br />        nMaxSlotIndex           0<br />        bVoltageSupport         7  5.0V 3.0V 1.8V<br />        dwProtocols             2  T=1<br />        dwDefaultClock       4000<br />        dwMaxiumumClock      4000<br />        bNumClockSupported      0<br />        dwDataRate         307200 bps<br />        dwMaxDataRate      307200 bps<br />        bNumDataRatesSupp.      0<br />        dwMaxIFSD            1190<br />        dwSyncProtocols  00000000<br />        dwMechanical     00000000<br />        dwFeatures       000400FE<br />          Auto configuration based on ATR<br />          Auto activation on insert<br />          Auto voltage selection<br />          Auto clock change<br />          Auto baud rate change<br />          Auto parameter negotation made by CCID<br />          Short and extended APDU level exchange<br />        dwMaxCCIDMsgLen      1200<br />        bClassGetResponse    echo<br />        bClassEnvelope       echo<br />        wlcdLayout           none<br />        bPINSupport             0<br />        bMaxCCIDBusySlots       1<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0x02  EP 2 OUT<br />        bmAttributes            2<br />          Transfer Type            Bulk<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0x0040  1x 64 bytes<br />        bInterval               0<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0x82  EP 2 IN<br />        bmAttributes            2<br />          Transfer Type            Bulk<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0x0040  1x 64 bytes<br />        bInterval               0<br />      Endpoint Descriptor:<br />        bLength                 7<br />        bDescriptorType         5<br />        bEndpointAddress     0x83  EP 3 IN<br />        bmAttributes            3<br />          Transfer Type            Interrupt<br />          Synch Type               None<br />          Usage Type               Data<br />        wMaxPacketSize     0x0008  1x 8 bytes<br />        bInterval              32<br />can't get device qualifier: Resource temporarily unavailable<br />can't get debug descriptor: Resource temporarily unavailable<br />Device Status:     0x0000<br />  (Bus Powered)<br /></div><br /><br />So OTP and CCID is enabled, this shouldn't be the problem. When I try to install the OpenPGP applet according to this guide: <a href="http://forum.yubico.com/viewtopic.php?f=26&amp;t=1344" class="postlink">http://forum.yubico.com/viewtopic.php?f=26&amp;t=1344</a>, I get the following error:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">mode_211<br />enable_trace<br />establish_context<br />card_connect<br />select -AID a000000003000000<br />Command --&gt; 00A4040008A000000003000000<br />Wrapped command --&gt; 00A4040008A000000003000000<br />Response &lt;-- 6A82<br />select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)<br /></div><br /><br />Any help is appreciated. I'm happy to provide more information if required.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4094">tequir00t</a> — Mon Dec 21, 2015 11:30 am</p><hr />
]]></content>
</entry>
</feed>