How to prevent emacs from unencrypting my files

Teemu Likonen tlikonen at iki.fi
Wed Feb 24 12:46:42 CET 2016


John Helly [2016-02-23 18:27:51-10] wrote:

> I've just discovered that emacs can unencrypt my *.gpg files without
> prompting for a password. IMHO this largely negates the purpose of
> encrypting files in case I lose my laptop.

Emacs can cache passphrases and expire them automatically. The related
configuration variables have changed quite recently but check these:

    password-cache
    password-cache-expiry
    mml2015-cache-passphrase
    mml2015-passphrase-cache-expiry
    mml-secure-cache-passphrase
    mml-secure-passphrase-cache-expiry

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: </pipermail/attachments/20160224/bcc36997/attachment.sig>


More information about the Gnupg-users mailing list