[Enigmail] and gpg-agent (was: enigmail and pgp-agent)
Charly Avital
shavital at mac.com
Thu Aug 9 05:12:15 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Patrick Brunschwig wrote the following on 8/9/07 2:41 PM:
> arno wrote:
>> Hi,
>> I have a pgp-agent running on my computer. But I'd like not use
>> pgp-agent in thunderbird.
>
>> So I left preference extensions.enigmail.useGpgAgent to false.
>> But I cannot send signed mails anymore (Enigmail does not prompt me for
>> my passphrase, but I still get the error "bad passphrase")
>
>> In Enigmail.prototype.useGpgAgent, there is:
>> try {
>> useAgent= (this.gpgAgentInfo.envStr.length>0 || this.prefBranch.getBoolPref("useGpgAgent"));
>> }
>
>
>> So it looks like enigmail tries to use gpg-agent if there is an agent
>> running *or* if useGpgAgent is true. I think it's a bug (it should be
>> *and*, but I'm not totally sure (may be there is something I
>> misunderstood in Enigmail).
>
>> Anyway, I changed those lines to:
>
>> try {
>> useAgent= (this.gpgAgentInfo.envStr.length>0 && this.prefBranch.getBoolPref("useGpgAgent"));
>> }
>
>> and it suits my needs.
>
> That's actually a feature, not a bug (i.e. it is intended like this).
> Latest if you want to use gpg2, gpg-agent will be mandatory (required by
> gpg2). If you don't want gpg-agent to be used, then I'd suggest you
> unset GPG_AGENT_INFO before starting thunderbird.
>
> -Patrick
What is the difference of the above settings, and unmarking 'Use
gpg-agent for passphrases' in OpenPGP 'Preferences>Advanced'?
Charly
running gpg2 2.0.4 and gpg-agent
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (Darwin)
Comment: GnuPG for Privacy
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRrsEl83GMi2FW4PvAQge4ggAkxQQr29ewT7fWai6XYnEfdSuqr1Rdk0A
dD6JWwypErFEQfEGm3kRCQWyQWgW27QILx0nyEB/ENg7lsdcpRDLXERmfVIAwxfN
65e9222tDZ7gjIAX5/nVHAefvBTxU5MZDheZnLRxEXfVuRm+VUUxvvptqt3c6guk
kigMzhFYp1LUiBmPse2TB/ETpiQlqLkWwKqu7JvpqCcfnzpAqfQF3mwbZ2nlh0G7
XEiHwWPVjf+fSyzMOlZahOlD8nYlFf/qLlMH1xpTH/bizFH3Gc4vDvh0Hi45tVBp
rmsFHHbK50DZoiyhApBojX2D7eR4DwOd2ggLgG/9FwGO4uHn+X+Ixg==
=dQyI
-----END PGP SIGNATURE-----
More information about the Enigmail
mailing list