paraphrase is not cached

Forum for misc bugs and other questions. If it doesn't seem to work properly or if you have any questions, post them here. Do not post questions regarding nightly builds here.

paraphrase is not cached

Postby Coolcat » 2nd Jun 2008 11:07

For some reason Enigmail does not cache my passphrase. When sending an signed mail I have to enter the passphrase twice. When browsing my mails I have to enter my passphrase each time I click an encrypted mail.

I'm not sure when the problem occurred. Possibly since I updated to TB 2.0.0.14, possibly when I upgraded from Fedora 7 to Fedora 9 Linux.

I had this problem with Enigmail 0.96a. I tried now a downgrade to Enigmail 0.95.6, but that didn't help.

thanks in advance,
Coolcat
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby Coolcat » 2nd Jun 2008 16:17

Tried nightly build 0.96a.0+(2008-06-02), does not help either.
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby patrick » 4th Jun 2008 08:00

Could you please copy&paste the output in the OpenPGP console?
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: paraphrase is not cached

Postby Coolcat » 4th Jun 2008 08:53

This is the complete output when starting TB, receiving new mails, and send one signed mail to one of my other email addresses. I'm not sure where this "--use-agent" comes from...."use gpg-agent for passphrases" is disabled in my options.

Code: Select all
Initializing Enigmail service ...
EnigmailAgentPath=/usr/bin/gpg

enigmail> /usr/bin/gpg --version --version --batch --no-tty --charset utf8
gpg (GnuPG) 1.4.9
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Unterstützte Verfahren:
Öff.Schlüssel: RSA, RSA-E, RSA-S, ELG-E, DSA
Verschlü.: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Komprimierung: nicht komprimiert, ZIP, ZLIB, BZIP2


enigmail> /usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2 -t --clears
ign -u 0xA81E15E0 --use-agent


enigmail> /usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2 --digest-al
go sha1 -s -b -a -t -u 0xA81E15E0 --use-agent
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby Jon » 15th Jun 2008 23:36

I had the same problem, but i found out how to solve it! :)

System:
Ubuntu 8.04
Thunderbird version 2.0.0.14
Enigmail version 0.95.0

The problem was in my Password and Encryption settings, where the PGP passphrases was set to 'never remember passphrases' which i changed to 'remember passphrases for 20mins'. It seems to have overridden the setting specified in enigmail/thunderbird.

this is where the setting can be found here:
system>preferences>encryption and keyrings> the 'PGP passphrases' tab

I hope this solves your problem as well comrade!
Jon
New user
New user
 
Posts: 1
Joined: 15th Jun 2008 23:22

Re: paraphrase is not cached

Postby Coolcat » 16th Jun 2008 00:17

Thanks, but this has no effect for me, even if I enable "use gpg-agent for passphrases" in Enigmail settings. :(
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby Coolcat » 16th Jun 2008 15:51

Ok, it works now...I'm not sure why.

After enabling "use gpg-agent for passphrases" first there was no effect. After a system reboot, I could not send signed mails anymore, because I got a "bad passpharse" error. Therefore I disabled "use gpg-agent for passphrases" again. Now, a reboot later it's working.

BUT: Enigmail does use the system keymanager (Gnome) to remember the key, thats ok, but since "use gpg-agent for passphrases" is disabled, this is really strange... :?
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby Coolcat » 17th Jun 2008 19:37

Ok, "Seahorse" was the problem. "Seahorse" seems to a be single gigantic bug.... :shock:

I removed Seahorse and Enigmail does work like charm again. :)
Coolcat
Novice User
Novice User
 
Posts: 11
Joined: 2nd Mar 2008 12:55

Re: paraphrase is not cached

Postby checkers » 20th Jun 2008 16:29

I had the same problem, using thunderbird & enigmail on Ubuntu 8.04. I solved it by doing this:
System -> Preferences -> Encryption & Keyrings -> PGP Passphrases
I set the radio button there to 'Always remember the passphrases whenever logged in', and also enabled 'show icon in status area when passphrases are in memory'
checkers
New user
New user
 
Posts: 1
Joined: 20th Jun 2008 16:23

Re: paraphrase is not cached

Postby azrael » 14th Sep 2008 10:30

azrael
New user
New user
 
Posts: 2
Joined: 14th Sep 2008 10:28


Return to General Discussions