tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/50849-git-failed-to-sign-commitGPGTools: Discussion 2017-05-24T17:21:05Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-01-29T05:26:11Z2017-01-29T05:26:14ZGit failed to sign commit<div><p>Did you end up figuring this out? Also having this same
issue.</p></div>Also Philtag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-01-29T17:21:22Z2017-01-29T17:21:23ZGit failed to sign commit<div><p>No. Still broken, I spent couple hours trying to figure this
out, but I'm so technically savvy about encryption utilities.<br>
I believe it is something withing GPG itself. I have plan to
completely remove all gpg stuff and install it from scratch, but I
don't want to because I'm afraid to lost keys etc.<br>
Also, Apple Mail signs emails so I'm sure it is something withing
their command line utility. They have something interesting about
sockets/pipes when encryption is happening. I suspect, they changed
format or something like that.</p></div>Philtag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-02-22T16:42:51Z2017-02-22T16:42:51ZGit failed to sign commit<div><p>Hi Phil,</p>
<p>there seem to be conflicting version of gnupg installed on your
system.<br>
From your debug info we see that you have at least gpg-agent
installed in /opt/local/bin/gpg-agent<br>
As far as I remember macports used /opt/local for their tools, so
you might want to uninstall gnupg from macports and only use
ours.<br>
In addition it appears that there's something wrong with your
gpg-agent.conf file<br>
Could you post that so we can have a look?</p>
<p>Thanks.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-03-02T21:37:53Z2017-03-02T21:37:54ZGit failed to sign commit<div><p>Hi Luke,</p>
<p>I uninstalled gpg-agent, now Apple Mail cannot sign emails.</p>
<p>$ gpg gpg: Go ahead and type your message ...<br>
fnngd<br>
fdmzgfd</p>
<p>gpg: no valid OpenPGP data found.<br>
gpg: processing message failed: Unknown system error</p>
<p>Looks like everything is broken.</p></div>Philtag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-03-29T16:22:46Z2017-03-29T16:22:46ZGit failed to sign commit<div><p>Hi Phil,</p>
<p>from the debug info it looks like the macports version of gnupg is heavily interfering with our version. It would be great if you could remove either the macpports version or our version and see if the problem still persists.</p>
<p>The macports version also sets an environment variable for gpg-agent which is not at all what that environment variable should look like. Not sure why they're doing it, but it also prevents gpg-agent from functioning properly. We've seen a similar case with macports before.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/417412482017-05-24T17:21:01Z2017-05-24T17:21:01ZGit failed to sign commit<div><p>Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.</p>
<p>All the best, steve</p></div>Steve