Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337786 - x11-plugins/enigmail-1.1.2-r2 ignores use-agent setting if gpg_agent_info is set
Summary: x11-plugins/enigmail-1.1.2-r2 ignores use-agent setting if gpg_agent_info is set
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 11:10 UTC by Andi H.
Modified: 2011-03-14 13:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andi H. 2010-09-17 11:10:10 UTC
Enigmail reads GPG_AGENT_INFO and the setting in the enigmail options menu in thunderbird. If you have unchecked "Use gpg-agent for passphrases" in the Advanced Tab but GPG_AGENT_INFO environment variable is somehow set it starts a new gpg-agent instance (it's not using an existent one).
As i have problems with gpg-agent i want to use the built-in gpg handling and unchecked the "use gpg-agent" box but it still uses gpg-agent.
So i found this:

http://www.amiryan.org/2009/04/22/bugfix-howto-turn-off-gpg-agent-usage-in-enigmail-thunderbird/

I think it's much better to change the || into &&, although this may occur with systems that don't have the GPG_AGENT_INFO set.

Reproducible: Always

Steps to Reproduce:
1. Emerge thunderbird and enigmail
2. Uncheck "Use gpg-agent for passphrases" in Advanced Enigmail Tab
3. Click on a GPG mail

Actual Results:  
GPG-Agent is used

Expected Results:  
Enigmail popup for GPG passphrase should have popped up
Comment 1 Jory A. Pratt gentoo-dev 2010-09-30 16:20:00 UTC
If your having issues with gpg-agent you should file a bug against it. I have double checked the code and it is fine as is. Please describe your gpg-agent issue and we will be more then willing to help you get it resolved.
Comment 2 Jory A. Pratt gentoo-dev 2011-03-14 13:51:13 UTC
If your system uses gpg-agent or a similar tool for passphrase handling (gpg-agent is mandatory if GnuPG v2.0 or later is used). Since caching of passphrases is handled by gpg-agent, the respective timeout settings in OpenPGP are disregarded. In order to change passphrase caching options, please configure your gpg-agent tool.