From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#40118: 27.0.90; Signing emails with gpg Date: Wed, 15 Apr 2020 18:37:51 +0200 Message-ID: References: <87tv2lhg2p.fsf@skimble.plus.com> <87d08a9vb9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="37755"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40118@debbugs.gnu.org, Sharon Kimble To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 15 18:39:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOl4C-0009iG-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Apr 2020 18:39:12 +0200 Original-Received: from localhost ([::1]:52566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOl4B-0001Yt-Jp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Apr 2020 12:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36585) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOl43-0001Ya-NJ for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 12:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOl42-0004XC-Fc for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 12:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOl42-0004X1-C0 for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 12:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOl42-0007rZ-9R for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Apr 2020 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40118 X-GNU-PR-Package: emacs Original-Received: via spool by 40118-submit@debbugs.gnu.org id=B40118.158696868230147 (code B ref 40118); Wed, 15 Apr 2020 16:39:02 +0000 Original-Received: (at 40118) by debbugs.gnu.org; 15 Apr 2020 16:38:02 +0000 Original-Received: from localhost ([127.0.0.1]:36989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOl34-0007qB-Iq for submit@debbugs.gnu.org; Wed, 15 Apr 2020 12:38:02 -0400 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:40800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOl32-0007pg-QI for 40118@debbugs.gnu.org; Wed, 15 Apr 2020 12:38:01 -0400 Original-Received: by mail-wm1-f48.google.com with SMTP id a81so298105wmf.5 for <40118@debbugs.gnu.org>; Wed, 15 Apr 2020 09:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=tKTzKvqPyeVmAbS7Uj4xRkrlzw1yhVv1AcEr94wVr+k=; b=GSpau3IhQXGl5yijKZ2+rOUoKk0aEZ/6/DZmBGg8Kj0RNa/UipH43TobXD08PEY2tt +INl6KQhoc2J9jeSl+7WHz+AH11N7CneCUT4+9X9uf0x8KFqtf4GYG2YFFGRW6GytJHy XG20S6emONJtoyh7vTqDPbUcx3M0CNahZb72Zaw7rZ+R9lF/Fh4fPA7sWQ7NxUXQCzLg o9LUFXVJ434f4VS6t3BZPRmfnel2UlEENM5UfZLvrKoAxBeCBnDd+hdQjH5RyUZ8XIU/ UsBrpFVxus+GPmkMB4wCfBzkgDLotXOBZ/0FKnTcMF9khh16LPnL3uRfJlE43d1poVyh RURA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=tKTzKvqPyeVmAbS7Uj4xRkrlzw1yhVv1AcEr94wVr+k=; b=BC8Tsu6JJ7lcuQ6FmmycD+tCcU//yEd7jee1MU+q0pbsAQPJAhEYNW2FlayB/iv4o5 MZnRV1r5apbtR2U2ohGhWxfNQ8tkYk1VaQfwFUAiTHkfCUSOnFsiV5yk/ySthmL0TmMo 2fplkcVM9OtAlHzp8liU7+Cr2FtALwik6SYybZV/m1urP3tgrY/gJclwuOAh0xzT1FCP G7pm57n9W/WKsCfsfaizmDtIpzYwafTw45RybSitRuRmPwnL4k7iNZqIBxR8zDvEKZgZ NJbSOPicv0/N8wQCdV3FJVq2FfkCsA0IjES+oGM5lmQ8JwtJ/sWfIthhk1PuuwyV1uaQ XWtQ== X-Gm-Message-State: AGi0PubLLAACHciiqpg//Zum2vyJF9uDF4QleDe39bra+UmekeyzIKJA Wq8HHxOV5n9yBHak3Fscs7wnevOxQJA= X-Google-Smtp-Source: APiQypLizC9KgfLKCqLDZo1zBez8m9BDDjS5kNjrHyEBZdrZx6LaCErjbyb1Ov8Nh7JzXSUJBHdbQQ== X-Received: by 2002:a1c:dfc2:: with SMTP id w185mr74759wmg.1.1586968674385; Wed, 15 Apr 2020 09:37:54 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:d25:1399:af8a:f424]) by smtp.gmail.com with ESMTPSA id a1sm14843438wrn.80.2020.04.15.09.37.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 09:37:53 -0700 (PDT) In-Reply-To: <87d08a9vb9.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Tue, 14 Apr 2020 13:10:50 +0200") 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178409 Archived-At: >>>>> On Tue, 14 Apr 2020 13:10:50 +0200, =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec = said: >> When I have - >> --8<---------------cut here---------------start------------->8--- >> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign) >> (add-hook 'message-setup-hook 'mml-secure-message-sign) >>=20 >> enabled in emacs26.3 up pops a pinentry box and I input my code and = the message sends. >>=20 >> However in 27.0.90 I get this crash report - >>=20 >> Debugger entered--Lisp error: (error "Couldn=E2=80=99t find any sign= er names; try setting `mml-s...") >> signal(error ("Couldn=E2=80=99t find any signer names; try setting `= mml-s...")) >> error("Couldn't find any signer names%s" "; try setting `mml-secure-= smime-sign-with-sender'.") >> mml-secure-epg-sign(OpenPGP t) >> mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 297) (cont= ents . "\ntesting 1\n \n-- \nA taste of linux =3D http://www.sh..."))) >> mml2015-sign((part (sign . "pgpmime") (tag-location . 297) (contents= . "\ntesting 1\n \n-- \nA taste of linux =3D http://www.sh..."))) >> mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 297= ) (contents . "\ntesting 1\n \n-- \nA taste of linux =3D http://www.sh..."= ))) >> mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 297) (c= ontents . "\ntesting 1\n \n-- \nA taste of linux =3D http://www.sh..."))) >> mml-generate-mime(nil nil) >> message-encode-message-body() >> message-send-mail(nil) >> message-send-via-mail(nil) >> message-send(nil) >> message-send-and-exit(nil) >> funcall-interactively(message-send-and-exit nil) >> call-interactively(message-send-and-exit) >> orgtbl-ctrl-c-ctrl-c(nil) >> funcall-interactively(orgtbl-ctrl-c-ctrl-c nil) >> call-interactively(orgtbl-ctrl-c-ctrl-c nil nil) >> command-execute(orgtbl-ctrl-c-ctrl-c) >> --8<---------------cut here---------------end--------------->8--- >>=20 >> And when looking through the pdf's I built after installing 27.0.90 = I can't find how to set 'mml-secure-smime-sign-with-sender'' >> Click on the 'customize' link shown in the help buffer that pops up when you do 'C-h v mml-secure-smime-sign-with-sender RET' >> How can I return to the behaviour of 26.3, but still use 27.0.90, as >> the only way that I can now send emails is by disabling the 2 lines I >> showed earlier. =C5=A0t=C4=9Bp=C3=A1n> You can set `mml-secure-smime-sign-with-sender' = (or any other option) =C5=A0t=C4=9Bp=C3=A1n> using the command `customize-variable' or simply= putting =C5=A0t=C4=9Bp=C3=A1n> (setq mml-secure-smime-sign-with-sender t) mml-secure-smime-sign-with sender has no effect when signing with pgp, you'd need to set mml-secure-openpgp-sign-with-sender. I can adjust the message easily enough, but I honestly think both of those variables should default to t, not nil. And I think we should do that in emacs-27 [1]. Eli? (and we should implement a more sophisticated form of 'mm-sign-option' 'guided in master). Robert Footnotes: [1] Power users will already have set or know how to set 'mml-secure-openpgp-signers' and the like