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

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2456</id>
<entry>
<author><name><![CDATA[yangl1996]]></name></author>
<updated>2016-11-27T14:06:37+01:00</updated>
<published>2016-11-27T14:06:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9180#p9180</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9180#p9180"/>
<title type="html"><![CDATA[Re: Can't sign git commit]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9180#p9180"><![CDATA[
<div class="codetitle"><b>Code:</b></div><div class="codecontent">brew install pinentry-mac</div><br /><br />Then edit ~/.gnupg/gpg-agent.conf to use pinentry-mac as pin entry program.<br /><br />It seems that the pinentry in the gnupg dependency does not work very well with git in macOS 10.12.<br /><br />switching to pinentry-mac solved my problem.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4556">yangl1996</a> — Sun Nov 27, 2016 2:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gimgee]]></name></author>
<updated>2016-10-15T23:56:48+01:00</updated>
<published>2016-10-15T23:56:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9091#p9091</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9091#p9091"/>
<title type="html"><![CDATA[Can't sign git commit]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2456&amp;p=9091#p9091"><![CDATA[
I've set up my Yubikey 4 to be a smartcard in GPG and I can sign, verify, encrypt, etc when using the GPG command, but when I try, <div class="codetitle"><b>Code:</b></div><div class="codecontent">git commit -S -m &quot;example&quot;</div> I get given the following response.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">iMac:test user$ git commit -S -m &quot;example&quot;<br />scdaemon&#91;9428&#93;: pcsc_control failed: invalid parameter (0x80100004)<br />scdaemon&#91;9428&#93;: pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538<br />scdaemon&#91;9428&#93;: signatures created so far: 5<br />scdaemon&#91;9428&#93;: DBG: asking for PIN '||Please enter the PIN%0A&#91;sigs done: 5&#93;'<br />scdaemon&#91;9428&#93;: PIN callback returned error: IPC call has been cancelled<br />scdaemon&#91;9428&#93;: app_sign failed: IPC call has been cancelled<br />gpg: signing failed: Inappropriate ioctl for device<br />gpg: signing failed: Inappropriate ioctl for device<br />error: gpg failed to sign the data<br />fatal: failed to write commit object<br />scdaemon&#91;9428&#93;: updating slot 0 status: 0x0000-&gt;0x0007 (0-&gt;1)<br />scdaemon&#91;9428&#93;: scdaemon (GnuPG) 2.0.30 stopped</div><br /><br />Any help would be appreciated, this only occurs when using git, nothing else.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4514">gimgee</a> — Sat Oct 15, 2016 11:56 pm</p><hr />
]]></content>
</entry>
</feed>