[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stop emacs caching gpg keys
From: |
Emanuel Berg |
Subject: |
Re: Stop emacs caching gpg keys |
Date: |
Sat, 30 Jan 2021 16:54:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Colin Baxter wrote:
> This is not so straightforward if I encrypt a file using
> emacs. On saving, and removing the buffer, a supposedly
> encrypted file can be opened without the need to enter
> a password. Of course, I can open a shell within emacs and
> run 'gpgconf --kill gpg-agent' in order to clear the cache.
What do you do to encrypt from Emacs?
> But is there a simpler way - an elisp way - of achieving the
> same result?
There is always `shell-command', I guess...
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal