all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Saving gpg password on the file itself
Date: Thu, 07 May 2015 09:42:46 -0400	[thread overview]
Message-ID: <8738388pwp.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.2531.1430990807.904.help-gnu-emacs@gnu.org

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	other threads:[~2015-05-07 13:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2531.1430990807.904.help-gnu-emacs@gnu.org>
2015-05-07 13:42 ` Ted Zlatanov [this message]
2015-05-07 16:09   ` Saving gpg password on the file itself Artur Malabarba
2015-05-09 16:40     ` Artur Malabarba
2015-05-09 17:07       ` Jorge A. Alfaro-Murillo
     [not found]     ` <mailman.2671.1431189609.904.help-gnu-emacs@gnu.org>
2015-05-11 15:32       ` Ted Zlatanov
2015-05-11 16:16         ` Artur Malabarba
     [not found]         ` <mailman.2789.1431361022.904.help-gnu-emacs@gnu.org>
2015-05-11 17:49           ` Ted Zlatanov
2015-05-07  9:26 Artur Malabarba
2015-05-07 13:36 ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738388pwp.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.