#87 ✓released
C Fraire

gpgkeys sendKeys using curl does not succeed in Keychain Access

Reported by C Fraire | March 21st, 2012 @ 03:52 AM | in 2.0.19 (closed)

I see a few users having problems with sending to a keyserver in GPG Keychain Access:


I confirm that there is a problem, but I'm not sure why.

The MacGPG2 release at http://www.gpgtools.org/macgpg2/index.html is version 2.0.17-9. Its gpgkeys programs are compiled to use "curl version = libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5".

GPG Keychain Access running a --send-keys with this MacGPG2 is seeing the following error (edited from a run using keyserver-options with verbose,verbose,verbose,debug):

* Failed writing body (0 != 126)
* Failed writing data
gpg: keyserver internal error
gpg: keyserver send failed: Keyserver error

But running the identical --send-keys from the Terminal runs fine without error. I'm stumped on this.

After failing to find a cause, as a last resort, I tried MacGPG2-2.0.18-4+1.dmg from the MacGPG2 downloads page. That version's gpgkeys programs are not compiled to use curl; they use instead "GnuPG curl-shim". With it, there is no problem, and sendKeys succeeds in both GPG Keychain Access and from the Terminal.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket