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

Previous Next

Packages: gnus, emacs;

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 #36 received at 26298 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: Toon Claes <toon <at> iotcl.com>, 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: Thu, 12 Apr 2018 00:06:21 +0200
Noam Postavsky <npostavs <at> users.sourceforge.net> writes:

> I can't reproduce the original bug, but this I can, although with
> mml1991 (not clear to me how this get's chosen).  I think it's just a
> matter of making the error a bit clearer, e.g.:
>
> --- i/lisp/gnus/mml1991.el
> +++ w/lisp/gnus/mml1991.el
> @@ -277,6 +277,8 @@ mml1991-epg-sign
>  	(mm-decode-content-transfer-encoding cte)))
>      (let* ((pair (mml-secure-epg-sign 'OpenPGP 'clear))
>  	   (signature (car pair)))
> +      (unless (stringp signature)
> +        (error "Signature failed"))
>        (delete-region (point-min) (point-max))
>        (insert
>         (with-temp-buffer

I've applied this patch to Emacs 27.1.

I don't do any signing, so the rest of this thread was greek to me.  :-)
Were the other issues worked out?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.