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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2018-01-18T16:32:50+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2823</id>
<entry>
<author><name><![CDATA[BFRAME]]></name></author>
<updated>2018-01-18T16:32:50+01:00</updated>
<published>2018-01-18T16:32:50+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10117#p10117</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10117#p10117"/>
<title type="html"><![CDATA[Re: Sharing violation / can't access extended capability fla]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10117#p10117"><![CDATA[
Just to add to this, I tried this on a different computer, also running Ubuntu 16.04, and I get the same set of errors. I've tried resetting the applet per this suggestion, <!-- m --><a class="postlink" href="https://www.yubico.com/support/knowledge-base/categories/articles/reset-applet-yubikey/">https://www.yubico.com/support/knowledg ... t-yubikey/</a><!-- m --> but no luck.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=5057">BFRAME</a> — Thu Jan 18, 2018 4:32 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[BFRAME]]></name></author>
<updated>2018-01-18T00:02:07+01:00</updated>
<published>2018-01-18T00:02:07+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10115#p10115</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10115#p10115"/>
<title type="html"><![CDATA[Sharing violation / can't access extended capability flag]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2823&amp;p=10115#p10115"><![CDATA[
I am trying to get Neo working on Ubuntu 16.04. THe issue seems to be that gpg can't access my card. If I run<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg --card-status<br />gpg: sending command `SCD LEARN' to agent failed: ec=6.124<br />gpg: OpenPGP card not available: general error<br /></div><br /><br />With sudo I get a different error:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ sudo gpg --card-status<br />gpg: WARNING: unsafe ownership on configuration file `/home/bframe/.gnupg/gpg.conf'<br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />gpg: pcsc_connect failed: sharing violation (0x8010000b)<br />gpg: apdu_send_simple(0) failed: locking failed<br />Please insert the card and hit return or enter 'c' to cancel:</div><br /><br />I can kill the gpg agent to remove that error:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg-connect-agent 'scd killscd' /bye<br />OK</div><br /><br />But that error is replaces with a &quot;can't access Extended Capability Flags&quot; error:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ sudo gpg --card-status<br />gpg: WARNING: unsafe ownership on configuration file `/home/bframe/.gnupg/gpg.conf'<br />gpg: detected reader `Yubico Yubikey NEO OTP+U2F+CCID 00 00'<br />gpg: can't access Extended Capability Flags - invalid OpenPGP card?<br /><br />gpg: Segmentation fault caught ... exiting<br />Segmentation fault (core dumped)</div><br /><br />gpg2 doesn't fair any better:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ sudo gpg2 --card-status<br />gpg: OpenPGP card not available: Unsupported operation</div><br /><br />But otherwise the device is recognized by the system:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ opensc-tool -l<br /># Detected readers (pcsc)<br />Nr.  Card  Features  Name<br />0    Yes             Yubico Yubikey NEO OTP+U2F+CCID 00 00<br />$ piv-tool --serial<br />Using reader with a card: Yubico Yubikey NEO OTP+U2F+CCID 00 00<br />BB D0 8B B7 1C 17 02 FC F5 42 20 44 24 37 94 02 .........B D$7..</div><br /><br />And Yubikey NEO Manager, YubiKey PIV Manager, and YubiKey Personalization, and YubiKey Authorization all recognize it. <br />I'm running gpg v. 1.4.20 and gpg2 v. 2.1.11.<br /><br />I've seen similar problems on the forum, but no solution has worked. Any thoughts on how to trouble shoot this?<br /><br />Thanks!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=5057">BFRAME</a> — Thu Jan 18, 2018 12:02 am</p><hr />
]]></content>
</entry>
</feed>