Loading...

enigmail@mozdev.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Enigmail] gpg-agent detection failing on upgrade, gpg-agent-wrapper.sh had bad permissions Patrick Brunschwig Sat Jun 26 11:00:57 2010

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 25.06.10 17:09, Benjamin Reed wrote:
> I upgraded to Thunderbird 3.1 (and Enigmail 1.1.1) this morning, and
> now I can't convince enigmail that my gnupg2 is valid.
> 
> It gives me the error:
> 
> Could not start the gpg-agent program which is needed for your GnuPG
> version 2.0.15.
> 
> In system.log, I see:
> 
> Jun 25 11:05:39 Sin [0x0-0x30030].org.mozilla.thunderbird[0]:
> 2010-06-25 11:05:39.133 enigmail.js: detected GnuPG version '2.0.15'
> Jun 25 11:05:39 Sin [0x0-0x30030].org.mozilla.thunderbird[0]:
> 2010-06-25 11:05:39.134 enigmail.js: detectGpgAgent
> Jun 25 11:05:39 Sin [0x0-0x30030].org.mozilla.thunderbird[0]:
> 2010-06-25 11:05:39.134 enigmail.js: detectGpgAgent: no GPG_AGENT_INFO
> variable set
> Jun 25 11:05:39 Sin [0x0-0x30030].org.mozilla.thunderbird[0]:
> 2010-06-25 11:05:39.175 enigmail>
> /Users/ranger/Library/Thunderbird/Profiles/jkorhipt.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh
> start /64sw/bin/gpg-agent --sh --no-use-standard-socket --daemon
> --default-cache-ttl 300 --max-cache-ttl 999999
> Jun 25 11:05:39 Sin [0x0-0x30030].org.mozilla.thunderbird[0]:
> 2010-06-25 11:05:39.175 enigmail.js: detectGpgAgent: gpg-agent output:
> 
> After some digging, it appears for some reason the
> "gpg-agent-wrapper.sh" script was not executable.  I did: chmod a+x
> "/Users/ranger/Library/Thunderbird/Profiles/jkorhipt.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh"
> and everything works now.
> 

Looks like the Thunderbird Add-on manager removes the executable flag.
The file is executable in the XPI, and it was always executable in the
past after installation. Looks like I'll have to actively do this in the
Enigmail code ...

- -Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBTCY4JMk25cDiHiw+AQi3kQf/T5JqdDPrg4d5SRA5/1XLBgFng19DiJ+s
lDIVEAyoHa8OYTjlRrdUiRZLf0E34W+cm7MTfAgwnxrlbW3iFbRBnIc4PwpKLxtz
CDVarbJhJC0u7sEpdUAsvsKKwa/rKZVeKIMEaISWa/9hK897jDJBx2eg3u9Sy4lT
MoUkdOLVy93NnAnfTa2MomRLmtJIlFIUvhgN+66LPjFOi8cFAJBDebzHob+yCSsz
yWzJCjcpoTbEdMJsTnuUgWxwRvJZBUZ+qFUuYFV5krN4H+23wvxJWAUXDQHRjjlQ
T07DjeDSKBGQ7soEuEsob3iSN7FHbp/OTH8eDO/KI7ubXtcQu3Zw9Q==
=HZQ7
-----END PGP SIGNATURE-----
_______________________________________________
Enigmail mailing list
[EMAIL PROTECTED]
https://www.mozdev.org/mailman/listinfo/enigmail