[Enigmail] Passphrase caching

2013-09-14 Thread Bob Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm confused as to how to increase the time my passphrase is cached.
In openPGP/Preferences/Basic I have entered a value of 360 minutes,
but when I click OK, I see the following message:

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.

I therefore appended the following to the file ~/.gnupg/gpg-agent.conf

default-cache-ttl 21600

The manpage suggests gpg-agent uses seconds rather than minutes, hence
21600 seconds = 6 hours. It also says to remove the leading -- from
any options that are added to this file.

However, I still get asked for my passphrase everytime I write a
signed or encrypted message. What have I missed? You can see I'm a
relative newbie to Enigmail and GPG.

Bob
- -- 
Bob Williams
System:  Linux 3.7.10-1.16-desktop
Distro:  openSUSE 12.3 (x86_64) with KDE Development Platform: 4.10.5
release 4
Uptime:  12:00pm up 3 days 20:55, 3 users, load average: 0.54, 0.70, 0.67
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlI0YxkACgkQ0Sr7eZJrmU53wwCgmBEQ+sj/fE7np7qt2b+YP2nz
v58AoIT5klhjILc0JH62+a06xWEWBvZ/
=Y99h
-END PGP SIGNATURE-

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Passphrase caching

2013-09-14 Thread Patrick Brunschwig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 14.09.13 15:22, Bob Williams wrote:
 I'm confused as to how to increase the time my passphrase is
 cached. In openPGP/Preferences/Basic I have entered a value of 360
 minutes, but when I click OK, I see the following message:
 
 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.
 
 I therefore appended the following to the file
 ~/.gnupg/gpg-agent.conf
 
 default-cache-ttl 21600
 
 The manpage suggests gpg-agent uses seconds rather than minutes,
 hence 21600 seconds = 6 hours. It also says to remove the leading
 -- from any options that are added to this file.
 
 However, I still get asked for my passphrase everytime I write a 
 signed or encrypted message. What have I missed? You can see I'm a 
 relative newbie to Enigmail and GPG.

Did you also change the configuration of the running gpg-agent
instance? If not, then change will only be active after you restarted
gpg-agent.

- -Patrick


-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEVAwUBUjSAIsk25cDiHiw+AQhGgggAinyBKOAZJW/f9VbVgAGo7OLhbjwjaghf
jaICMzUx5WKxiHc0SZrqXVZommyQ09NGkYFQtpFTcQcdSW0HlJ4gl75gfx0+2707
czeszIcx0QFmxJjV0IHPyT5y7z572bCEdBXbmxIz/wAevfruZtACCmjXgeibRQC9
AC4rurIy1CfI2msr6yFt/oZW4z/3aH0MVzXVcD+Svj4PNPURYF5RO5ll9eOB1IQo
78DVOKRiRCZ2nYSbXYxRTxoscjyQMnZFVRaryh0lfGsYytW7H9YCBdLX5FRidJql
D7Dbf5f9wNI6/9W+tcYiruhTzIgl+n+28GJffVwFxJzqUd5vpdGf8g==
=pM1l
-END PGP SIGNATURE-

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net