all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Saving gpg password on the file itself
Date: Mon, 11 May 2015 17:16:57 +0100	[thread overview]
Message-ID: <CAAdUY-JEo_LJDmGboFSmMQrg-CRm71hhUkP-W8NoMuM0_ZMj0g@mail.gmail.com> (raw)
In-Reply-To: <87vbfzxh7h.fsf@lifelogs.com>

2015-05-11 16:32 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
> On Sat, 9 May 2015 17:40:04 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote:
>
> AM> Actually, I may have spoke too soon.
> AM> On Ubuntu this does nothing.
>
> What's "this"? What did you do to set up the test, then what did
> actually happen, and finally what did you expect?

"this" is doing
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
and then opening a file with symmetric encryption.

The regular behavior is to get a password prompt every time I open and
two prompts every time I save. The variable didn't change that. I was
expecting it to somehow reduce the number of prompts.

Now I understand though, that it doesn't work for recent Gnupg, so I
think that's why.

> AM> And on Arch linux this works for opening the file but not for saving
> AM> (I only get prompted the first time that I open, but still get
> AM> prompted twice every time I save).
>
> AM> Is this because different backends are being used on each system? Is
> AM> there a configuration variable I can use to force a backend?
>
> You're probably using GnuPG 2.x on Arch, which doesn't currently
> allow caching the symmetric passphrase.  Please check.

Yes, version 2.1. I should have read the docstring before my last message.



  reply	other threads:[~2015-05-11 16:16 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 ` Saving gpg password on the file itself Ted Zlatanov
2015-05-07 16:09   ` 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 [this message]
     [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=CAAdUY-JEo_LJDmGboFSmMQrg-CRm71hhUkP-W8NoMuM0_ZMj0g@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tzz@lifelogs.com \
    /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.