[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving gpg password on the file itself
From: |
Michael Heerdegen |
Subject: |
Re: Saving gpg password on the file itself |
Date: |
Thu, 07 May 2015 15:36:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Artur Malabarba <bruce.connor.am@gmail.com> writes:
> I have a single encrypted file in my system, diary.org.gpg.
> It's doesn't contain hugely sensitive information, and its password
> does not coincide with any other password I use.
>
> I don't want to setup a whole encryption keychain (or whatever that
> stuff is called) on my system, I'm fine with typing the password once
> when I open the file. The only thing that bothers me, is typing it
> twice every time I save.
I assume you are using epa.el (here it is used automatically when
working with gpg encrypted files).
As you describe your situation, I guess you could be happy with
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
You could also read (info "(epa) Caching Passphrases").
HTH,
Michael.