emacs-devel
[Top][All Lists]
Advanced

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

Re: gpg 2.2 and epa


From: Filipp Gunbin
Subject: Re: gpg 2.2 and epa
Date: Mon, 03 Dec 2018 18:17:59 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

On 02/12/2018 16:47 -0800, Paul Eggert wrote:

> Richard Stallman wrote:
>> I tried installing gpg 2.2 some months ago, but Emacs master ceased to
>> recognize when it was asking for a password.  Has anyone had success
>> with this?
>
> Emacs master works for me on my Ubuntu 18.04.1 desktop, where "gpg --version"
> reports gpg (GnuPG) 2.2.4 with libgcrypt 1.8.1.
>
> Emacs master (like Emacs 26.1) delegates password handling to gpg2. That is,
> Emacs itself isn't responsible for reading passphrases; gpg2 does it for 
> Emacs.
> On my desktop, when I am using Emacs and need a GPG passphrase, a window pops 
> up
> (I assume generated by the GPG agent), and the agent remembers the key.
>
> If you want to continue to type the passphrase into Emacs, here is a relevant
> 20-message thread, dated 2016:
>
> https://lists.gnu.org/archive/html/help-gnu-emacs/2016-02/msg00102.html
>
> with the conclusion seeming to be "it's not worth the trouble".

With (setq epg-pinentry-mode 'loopback), gpg redirects passphrase
quering to Emacs.  This works ok in master.  No other settings should be
required for that.

Filipp



reply via email to

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