From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#26298: 26.0.50; Gnus fails to sign mail with PGP Date: Thu, 12 Apr 2018 00:06:21 +0200 Message-ID: <871sflwg82.fsf@mouse.gnus.org> References: <871sod1zmz.fsf@users.sourceforge.net> <87h92cp9dh.fsf@wilson.bronger.org> <87vaflk79l.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523484317 32368 195.159.176.226 (11 Apr 2018 22:05:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 22:05:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Toon Claes , 26298@debbugs.gnu.org, Torsten Bronger To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 00:05:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6NrY-0008EG-Pq for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2018 00:05:08 +0200 Original-Received: from localhost ([::1]:33767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Ntf-0008QJ-H9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 18:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6NtV-0008Or-6g for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 18:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6NtO-0003MM-3q for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 18:07:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6NtO-0003Lk-0V for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 18:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f6NtN-00081d-Ko; Wed, 11 Apr 2018 18:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 11 Apr 2018 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26298 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 26298-submit@debbugs.gnu.org id=B26298.152348439930821 (code B ref 26298); Wed, 11 Apr 2018 22:07:01 +0000 Original-Received: (at 26298) by debbugs.gnu.org; 11 Apr 2018 22:06:39 +0000 Original-Received: from localhost ([127.0.0.1]:46699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Nt1-000813-La for submit@debbugs.gnu.org; Wed, 11 Apr 2018 18:06:39 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:48623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Nt0-00080w-Hz for 26298@debbugs.gnu.org; Wed, 11 Apr 2018 18:06:38 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6Nsp-0002fR-Hi; Thu, 12 Apr 2018 00:06:29 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6Nsj-0002lA-Mq; Thu, 12 Apr 2018 00:06:21 +0200 In-Reply-To: <87vaflk79l.fsf@users.sourceforge.net> (Noam Postavsky's message of "Sun, 28 Jan 2018 16:23:02 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145103 Archived-At: Noam Postavsky 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