How to prevent emacs from unencrypting my files
fa-ml at ariis.it
Wed Feb 24 08:03:05 CET 2016
On Tue, Feb 23, 2016 at 06:27:51PM -1000, John Helly 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.
> What's the logic behind this? I know it's for convenience but can I
> encrypt my files such they cannot be opened without a passphrase?
I suppose Emacs caches the passphrase somehow. Maybe/Probably
this is done through gpg-agent: scan your gpg-agent config file
for `default-cache-ttl`, set it appropriately and report back!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Gnupg-users