help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving gpg password on the file itself


From: Artur Malabarba
Subject: Re: Saving gpg password on the file itself
Date: Sat, 9 May 2015 17:40:04 +0100

Actually, I may have spoke too soon.
On Ubuntu this does nothing. And on Arch linux this works for opening
the file but not for saving (I only get prompted the first time that I
open, but still get prompted twice every time I save).

Is this because different backends are being used on each system? Is
there a configuration variable I can use to force a backend?

2015-05-07 17:09 GMT+01:00 Artur Malabarba <bruce.connor.am@gmail.com>:
> Thanks Ted and Michael. Works great!
>
> 2015-05-07 14:42 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
>> On Thu, 7 May 2015 10:26:43 +0100 Artur Malabarba 
>> <bruce.connor.am@gmail.com> wrote:
>>
>> AM> I don't want to setup a whole encryption keychain (or whatever that
>> AM> stuff is called) on my system, I'm fine with typing the password once
>> AM> when I open the file. The only thing that bothers me, is typing it
>> AM> twice every time I save.
>>
>> It's simple: look at
>> `epa-file-cache-passphrase-for-symmetric-encryption'.  I use it in many
>> situations where the GnuPG agent is not available.  Just don't select a
>> key when you initially encrypt the .gpg file and EPA will know you mean
>> to use symmetric encryption.  Then you enter the passphrase once and
>> Emacs remembers it for the whole session.
>>
>> Ted
>>
>> Documentation:
>> If non-nil, cache passphrase for symmetric encryption.
>>
>> For security reasons, this option is turned off by default and
>> not recommended to use.  Instead, consider using gpg-agent which
>> does the same job in a safer way.  See Info node `(epa) Caching
>> Passphrases' for more information.
>>
>> Note that this option has no effect if you use GnuPG 2.0.
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]