gpg: malformed GPG_AGENT_INFO environment variable
Reported by Aleksey | 2015-02-23 21:57:53 UTC
Hi,
Trying to sign any message fails in MailMate version 1.8 (4576) (but works fine in Mail) with such debug message:
gpg2 --no-verbose --batch --no-tty --openpgp --status-fd 2 --digest-algo SHA1 --textmode --armor --detach-sign --local-user "user@domain" Input string (50): "Content-Type: text/plain\r\n\r\nGPG signature test" Result: Failure Output string (506): "-----BEGIN PGP SIGNATURE-----\nComment: GPGTools - http://gpgtools.org\n\niQEcBAEBAgAGBQJU64kTAAoJEGW0TPua+mTjB8MIANuN...; Detail: [GNUPG:] USERID_HINT 65B44CFB9AFA64E3 User user@domain Detail: [GNUPG:] NEED_PASSPHRASE 65B44CFB9AFA64E3 65B44CFB9AFA64E3 1 0 Detail: gpg: malformed GPG_AGENT_INFO environment variable Detail: [GNUPG:] GOOD_PASSPHRASE Detail: [GNUPG:] BEGIN_SIGNING H2 Detail: [GNUPG:] SIG_CREATED D 1 2 01 1424722195 881A564856D04D98AA3A99C765B44CFB9AFA64E3
Any idea why it doesn't like GPG_AGENT_INFO?
I see it is set like this:
$ echo $GPG_AGENT_INFO /private/tmp/com.apple.launchd.WtXkX7A4xk/Listeners_agent
Yours,
Aleksey
Comments and changes to this ticket
-

benny 2015-02-24 16:21:43 UTC
- State changed from new to cantreproduce
That value (
GPG_AGENT_INFO) is not set at all for me. I assume (based on the output) that you havegpg2installed via GPGTools? But maybe you have something left over from another/older install?From the documentation I found googling, it also seems the value is invalid.
(Note that I'm not an expert in the internal workings of
gnupg.) -

Aleksey 2015-02-24 17:48:02 UTC
Oh!
Thanks for pointing this. I found that the issue was caused by gpg2 installed from MacPorts.
Please close the case :)
Yours,
Aleksey -

benny 2015-02-24 19:40:40 UTC
- State changed from cantreproduce to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mac OS X email client.