GNU bug report logs - #26298
26.0.50; Gnus fails to sign mail with PGP

Previous Next

Packages: emacs, gnus;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Wed, 29 Mar 2017 12:13:01 UTC

Severity: normal

Tags: fixed

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #63 received at 26298 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Toon Claes <toon <at> iotcl.com>
Cc: Joseph Mingrone <jrm <at> ftfl.ca>, 26298 <at> debbugs.gnu.org,
 Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Subject: Re: bug#26298: 26.0.50; Gnus fails to sign mail with PGP
Date: Sun, 29 Apr 2018 10:38:32 -0400
[Message part 1 (text/plain, inline)]
Toon Claes <toon <at> iotcl.com> writes:
> If I add the following line to `mml-secure-epg-sign', I can successfully
> sign my email:
>
> #+begin_src emacs-lisp :tangle yes
>     (setf (epg-context-pinentry-mode context) 'loopback)
> #+end_src
>
> Now I also understand why `epa-sign-file' works, I have set
> `(setq epa-pinentry-mode 'loopback)' in my init.el.
>
> But, I could use some advice on building a proper fix that would work
> for everyone. We could do something similar like as epa.el does, and add
> yet another defcustom, but doesn't feel very DRY.
> So I hope someone can chime in to give some advice.

So perhaps the best solution is simply rename epa-pinentry-mode to
epg-pinentry-mode, and use it is as the default
epg-context-pinentry-mode value (see attached).

[v1-0001-Move-epa-pinentry-mode-to-epg-config-Bug-26298.patch (text/x-diff, attachment)]

This bug report was last modified 7 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.