Menu

Enigmail keeps forgetting passphrase

2013-08-12
2013-08-14
  • Herbert Braun

    Herbert Braun - 2013-08-12

    Recently I created a PGP key with GPG4Win and imported it into Enigmail. As the private key is very long and I'd like to sign every mail per default, I only want to re-enter it like once per day. Unfortunately, Enigmail keeps forgetting the private key - although I've set the caching to 360 minutes and checked "never ask for passphrase". It works if I send mails immediately one after another, but after less than one hour it asks again. Thunderbird was not closed in the meantime.
    Any idea what I can do?

     
  • Patrick Brunschwig

    If you're using Gpg4win, then caching the password is outside of Enigmail. It does not matter what time you enter in the dialog and if no passphrase should be used. You should change the timeout in gpg-agent.conf (found in your GnuPG configuration directory - something like C:\Users\<your name="">\AppData\Roaming\GnuPG).</your>

    If the file does not exists, you should create it using an editor like Notepad.

    You'll need to set values (in seconds) for the following two options:

    default-cache-ttl 3600
    max-cache-ttl 999999
    
     
  • Herbert Braun

    Herbert Braun - 2013-08-14

    Thanks a lot, that solved the problem!

     

Log in to post a comment.