<?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=35&amp;t=2298" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-06-19T15:46:37+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2298</id>
<entry>
<author><name><![CDATA[T4cC0re]]></name></author>
<updated>2016-05-11T11:04:26+01:00</updated>
<published>2016-05-11T11:04:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8614#p8614</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8614#p8614"/>
<title type="html"><![CDATA[Re: GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8614#p8614"><![CDATA[
Not, yet. And I cannot seem to find out why :/<br /><br />Do you have any idea i could try?<br /><br />Update:<br /><br />Found the solution: Configure the GPG-Agent to start with --enable-putty-support and then run<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">eval $(ssh-pageant -r -a &quot;/tmp/.ssh-pageant-$USERNAME&quot;)<br /></div><br />from the git-bash and everything works!<br /><br />/closed<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4310">T4cC0re</a> — Wed May 11, 2016 11:04 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2016-05-10T21:15:47+01:00</updated>
<published>2016-05-10T21:15:47+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8613#p8613</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8613#p8613"/>
<title type="html"><![CDATA[Re: GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8613#p8613"><![CDATA[
Did you have any luck with git-bash ssh?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Tue May 10, 2016 9:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[T4cC0re]]></name></author>
<updated>2016-05-07T04:01:47+01:00</updated>
<published>2016-05-07T04:01:47+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8612#p8612</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8612#p8612"/>
<title type="html"><![CDATA[Re: GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8612#p8612"><![CDATA[
Okay, I got it (partially) working!<br /><br />Solution was rather simple after digging into GPG-Configs on linux:<br /><br />Set environment variables:<br />GNUPGHOME=%APPDATA%\gnupg<br /><br />and use gpg2. That's it. Because if that variable is not set it will look in the wrong folder.<br />Need to start GPA once and then it's all okay <img src="https://forum.yubico.com/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br />Still need to get git-bash's ssh working though, so I leave this thread open a little longer<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4310">T4cC0re</a> — Sat May 07, 2016 4:01 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[T4cC0re]]></name></author>
<updated>2016-05-04T00:21:14+01:00</updated>
<published>2016-05-04T00:21:14+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8599#p8599</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8599#p8599"/>
<title type="html"><![CDATA[Re: GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8599#p8599"><![CDATA[
<div class="quotetitle">ChrisHalos wrote:</div><div class="quotecontent"><br />Have you tried ending the two GnuPG processes running in Task Manager and removing and reinserting the YubiKey?<br /></div><br /><br />Yes, i get the same errors.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4310">T4cC0re</a> — Wed May 04, 2016 12:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ChrisHalos]]></name></author>
<updated>2016-05-03T23:56:19+01:00</updated>
<published>2016-05-03T23:56:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8598#p8598</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8598#p8598"/>
<title type="html"><![CDATA[Re: GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8598#p8598"><![CDATA[
Have you tried ending the two GnuPG processes running in Task Manager and removing and reinserting the YubiKey?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3140">ChrisHalos</a> — Tue May 03, 2016 11:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[T4cC0re]]></name></author>
<updated>2016-06-19T15:46:37+01:00</updated>
<published>2016-05-03T23:21:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8596#p8596</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8596#p8596"/>
<title type="html"><![CDATA[[solved] GPA finds YK4 but gpg --card-status throws error]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2298&amp;p=8596#p8596"><![CDATA[
Hi,<br /><br />I just bought my 3rd Yubikey, the YK4, (neo and standard before that) and set it up on my Arch Linux machine. All no problemo, Now here's my problem:<br /><br />When I use the GPA to access my YK4 on Windows 10 (dev machine, need git signing, hence cli tools) it all works flawless (get shown all details and can edit them), however `gpg --card-status --verbose` gives me this output:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />C:\Users\t4cc0&gt;gpg --card-status --verbose<br />gpg: detected reader `Yubico Yubikey 4 OTP+U2F+CCID 0'<br />gpg: reader slot 0: not connected<br />gpg: reader slot 0: active protocol: T1<br />gpg: slot 0: ATR=3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4<br />gpg: pcsc_transmit failed: invalid parameter (0x80100004)<br />gpg: apdu_send_simple(0) failed: invalid value<br />Please insert the card and hit return or enter 'c' to cancel: c<br />gpg: selecting openpgp failed: invalid argument<br />gpg: OpenPGP card not available: general error<br /></div><br /><br />GPA: <img src="https://i.imgur.com/sLtN4n4.png" alt="Image" /><br /><br />Using the same yk and the same command on Arch works perfect.<br /><br />I have already tried removing all drivers fro the device manager and installing newer USB drivers. Anything I missed in the setup guide? I am really at the end of my ideas and googleing the error also did not result in any solutions.<br /><br />Update: Just tried this, without success, but a different error:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />PS C:\Users\t4cc0&gt; gpg-connect-agent.exe /bye<br />PS C:\Users\t4cc0&gt; gpg --card-status --verbose<br />gpg: detected reader `Yubico Yubikey 4 OTP+U2F+CCID 0'<br />gpg: reader slot 0: not connected<br />gpg: pcsc_connect failed: <strong>sharing violation</strong> (0x8010000b)<br />gpg: reader slot 0: not connected<br />gpg: apdu_send_simple(0) failed: locking failed<br />Please insert the card and hit return or enter 'c' to cancel: c<br />gpg: selecting openpgp failed: general error<br />gpg: OpenPGP card not available: general error<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4310">T4cC0re</a> — Tue May 03, 2016 11:21 pm</p><hr />
]]></content>
</entry>
</feed>