[Enigmail] Enigmail asks 2 times for passphrase
Ludwig Zins
zins at gmx.net
Thu Jan 8 11:25:41 PST 2009
Patrick Brunschwig schrieb:
> Ludwig Zins wrote:
>> Ludwig Zins schrieb:
>>> Hi Charly,
>>>
>>> thanks for your quick answer.
>>> I will try today evenning at home when I'm on my ubuntu machine.
>>>
>>> I will check my gpg path, but I think it will be correct, because if I
>>> use PGP-Inline there's no problem.
>>>
>>> In the german ubuntuforums there is one user with the same problem.
>>> But I got no response if he solved the problem.
>>>
>>> I forgot to mention that I use ubuntu 8.04 LTS Hardy.
>>> Maybe the problem ist solved with an dist-upgrade to 8.10 or even the
>>> upgrade of gpg is enough, i will see.
>>>
>>>
>>> Ludwig
>>>
>>>
>>>
>>> Charly Avital schrieb:
>>>> Ludwig Zins wrote the following on 1/6/09 11:13 AM:
>>>>> Hi all,
>>>>>
>>>>> I've got a problem on my System using Enigmail.
>>>>> I use Tunderbird (2.x) on ubuntu Linux ans use PGP/MIME to sign my e-mails.
>>>>> Enigmail asks me 2 times for the passphrase. If I use PGP-Inline,
>>>>> everything works fine.
>>>>> My e-mails are signed correctly, but only after 2 typing 2 times the
>>>>> passphrase.
>>>>>
>>>>> Does anyone know this effect?
>>>>> Is it a bug in enigmail or in ubuntu? I don't know if it works on other
>>>>> ditris (Fedora, Suse.....).
>>>>>
>>>>> Regards
>>>>> Ludwig
>>>> Hi Ludwig,
>>>>
>>>> I run Linux Ubuntu 8.10_64bits on a Macintosh Intel laptop under virtual
>>>> software VMware.
>>>>
>>>> I have just checked that system (where I use Thunderbird 2.0.0.19,
>>>> Enigmail 0.95.7), sent myself a PGP/MIME signed message, and was
>>>> reqested to enter my passphrase once.
>>>>
>>>> I follow the Ubuntu-users mailing list, and couldn't find any reference
>>>> to a problem similar or identical to yours.
>>>>
>>>> I would recommend that you upgrade your GnuPG software to 1.4.9, that is
>>>> the current stable release. According to the raw source of your message,
>>>> you are running 'Version: GnuPG v1.4.6 (GNU/Linux)'.
>>>>
>>>> I don't pretend this will solve your problem, but it's worth trying, and
>>>> anyway gpg 1.4.6 is now way back.
>>>>
>>>> A *very wild* guess is that you might have "two" gpgs installed and
>>>> running simultaneously. I suggest that you explore your system (via
>>>> Terminal) and find out where gpg is installed.
>>>>
>>>> The default path should be
>>>> /usr/local/bin/gpg
>>>>
>>>> Please check in Thunderbird's OpenPGP/Preferences, what is the path
>>>> selected in Preferences/Basic. It if something different that is not
>>>> /usr/local/bin/gpg, you might have two gpgs running.
>>>>
>>>> As I said, a *very wild* guess.
>>>>
>
> Please don't top-post.
>
>> Seems to be a bug!
>
> I'd call it an undesired side-effect (see below)
>
>> I found this:
>
>> https://bugs.launchpad.net/ubuntu/+source/enigmail/+bug/246364
>> http://www.mozilla-enigmail.org/forum/viewtopic.php?f=3&t=421
>> http://bugzilla.gnome.org/show_bug.cgi?id=552086
>
>> So I hope this will be solved in future!
>
>> @Charly
>> I have only installed one gpg (1.4.6), this is the correct version of
>> ubuntu 8.04 Hardy.
>
>
> The problem is that on Ubunutu the gpg-agent from Seahorse is enabled by
> default. This means that all passphrase management is handled outside
> Enigmail by a gpg-agent. The problem behind it is that Enigmail needs to
> find out which hash algorithm to use when sending a PGP/MIME signed
> message before the message is actually signed. This is done by creating
> a small test message and asking GnuPG to sign it - which requires the
> passphrase. I haven't found another easy way yet how to find out about
> the used hash algorithm in advance.
>
> If you don't want the passphrase to be cached, I would suggest you
> define a small time window for the passphrase to be cached, e.g. 30
> seconds. This way gpg-agent will remember the passphrase only very
> shortly and should thus not ask twice.
>
> If you want passphrase management enabled from within Enigmail, you'll
> have to disable the seahorse gpg-agent (don't ask me how!), or at least
> make sure that the environment variable GPG_AGENT_INFO is not set when
> starting Thunderbird.
>
> -Patrick
Hi all,
I think I could solve the problem or at least have a workaround!
I had 2 GPG-agents on my system, one was seahorse an the other was the
gpg-agent. I deinstalled the gpg-agent.
The passphrase is now cached for 1 minute (set in seahorse).
Now I'm just ask once for the passphrase.
If the passphrase isn't cached, I'm still asked twice.
Ludwig
_______________________________________________
Enigmail mailing list
Enigmail at mozdev.org
https://www.mozdev.org/mailman/listinfo/enigmail
--
---------------------------------------------------------------
Ludwig Zins
Pfaffenhofen - Germany
zins at gmx.net
---------------------------------------------------------------
GnuPG/PGP:
KeyID: 0x6FC1C8BF
Keyserver: http://wwwkeys.de.pgp.net/
---------------------------------------------------------------
() This is Schäuble. Copy Schäuble into your signature
/||\ to help him on his way to Überwachungsstaat.
|UU|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.mozdev.org/pipermail/enigmail/attachments/20090108/f74cd344/attachment.bin>
More information about the Enigmail
mailing list