#1053 ✓resolved
Aleksey

gpg: malformed GPG_AGENT_INFO environment variable

Reported by Aleksey | February 23rd, 2015 @ 09:57 PM

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

    benny February 24th, 2015 @ 04:21 PM

    • 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 have gpg2 installed 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

    Aleksey February 24th, 2015 @ 05:48 PM

    Oh!

    Thanks for pointing this. I found that the issue was caused by gpg2 installed from MacPorts.

    Please close the case :)

    Yours,
    Aleksey

  • benny

    benny February 24th, 2015 @ 07:40 PM

    • 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.

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 ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages