all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daiki Ueno <ueno@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: trunk r118306: epg: Utilize --pinentry-mode added in GnuPG 2.1
Date: Sun, 09 Nov 2014 12:24:31 +0900	[thread overview]
Message-ID: <87h9y92h00.fsf-ueno@gnu.org> (raw)
In-Reply-To: <8761erxi8k.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 07 Nov 2014 08:17:31 -0500")

Apparently, I missed Cc: to the list.  Resending with a bit more info,
for those interested.

Ted Zlatanov <tzz@lifelogs.com> writes:

> does this mean `epa-file-cache-passphrase-for-symmetric-encryption' can
> work with GnuPG 2.1?  Do you plan to enable that functionality?

With GnuPG 2.1, the variable is even not necessary anymore.  When you set
epa-pinentry-mode to loopback, gpg-agent (now internally invoked by gpg)
talks to Emacs.  That means the passphrase you input from the minibuffer
will be cached in the gpg-agent's cache.

If you are on Debian sid, you can try it with:

- install GnuPG 2.1 package from experimental:
  $ apt-get install gnupg2/experimental

- add 'allow-loopback-pinentry' to ~/.gnupg/gpg-agent.conf
  $ echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf

- set epg-gpg-program to "gpg2" and also epa-pinentry-mode to 'loopback

Regards,
-- 
Daiki Ueno



      reply	other threads:[~2014-11-09  3:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1XmcnX-0002ur-Kr@vcs.savannah.gnu.org>
2014-11-07 13:17 ` trunk r118306: epg: Utilize --pinentry-mode added in GnuPG 2.1 Ted Zlatanov
2014-11-09  3:24   ` Daiki Ueno [this message]

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=87h9y92h00.fsf-ueno@gnu.org \
    --to=ueno@gnu.org \
    --cc=emacs-devel@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.