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: Colin Baxter
Subject: Re: gpg 2.2 and epa
Date: Thu, 17 Jan 2019 19:48:09 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Dear Filipp,

>>>>> Filipp Gunbin <address@hidden> writes:

    Filipp> 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".

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

This works for emacs-27 even if you ssh in to a remote machine and
launch emacs from there. Thanks Filipp for this, I've found it very
useful.

Best wishes,

-- 
Colin Baxter
address@hidden



reply via email to

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