From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40118: 27.0.90; Signing emails with gpg Date: Thu, 16 Apr 2020 13:15:02 +0300 Message-ID: <83pnc7enyx.fsf@gnu.org> References: <87tv2lhg2p.fsf@skimble.plus.com> <87d08a9vb9.fsf@gmail.com> <83mu7cg0k8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36008"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stepnem@gmail.com, 40118@debbugs.gnu.org, boudiccas@skimble.plus.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 16 12:16:18 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 1jP1ZB-0009EL-VF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 12:16:17 +0200 Original-Received: from localhost ([::1]:60358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP1ZB-0003FQ-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 06:16:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33996) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP1Yx-0003E4-Hk for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 06:16:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP1Yw-00085a-JM for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 06:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP1Yw-00085U-GQ for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 06:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP1Yw-0005Ie-Af for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 06:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2020 10:16: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.158703212720325 (code B ref 40118); Thu, 16 Apr 2020 10:16:02 +0000 Original-Received: (at 40118) by debbugs.gnu.org; 16 Apr 2020 10:15:27 +0000 Original-Received: from localhost ([127.0.0.1]:37590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP1YM-0005Hl-L4 for submit@debbugs.gnu.org; Thu, 16 Apr 2020 06:15:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP1YK-0005HY-Ho for 40118@debbugs.gnu.org; Thu, 16 Apr 2020 06:15:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jP1YF-0007nM-40; Thu, 16 Apr 2020 06:15:19 -0400 Original-Received: from [176.228.60.248] (port=3176 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jP1YE-0005Qn-CH; Thu, 16 Apr 2020 06:15:18 -0400 In-Reply-To: (message from Robert Pluim on Thu, 16 Apr 2020 11:44:51 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:178442 Archived-At: > From: Robert Pluim > Cc: stepnem@gmail.com, 40118@debbugs.gnu.org, boudiccas@skimble.plus.com > Date: Thu, 16 Apr 2020 11:44:51 +0200 > > In emacs-26, mml-secure-epg-sign could specify that a message should > be signed with a key based on the senderʼs email address. If the > variable governing that was nil, it was left to gpg to figure out the > key to use. Normally that means gpg uses its default key. > > In emacs-27, mml-secure-epg-sign now checks explicitly whether that > variable is nil, and refuses to continue. Why was this change in behavior made in Emacs 27? > With an error message that in at least 50% of the cases points the > user to the wrong user option. This is a regression from emacs-26. > > Fixing the error message is easy. Iʼm proposing that by default the > senderʼs email address is used to determine the key to use, since > thatʼs what almost everyone will want. People who donʼt want that can > control the behaviour by either adding keys to > 'mml-secure-openpgp-signers' or by setting 'mm-sign-option' to > 'guided. I'd prefer to have a behavior that didn't require any changes, if possible. Thus the above question. If having a compatible behavior is impractical, then let's discuss what would the lesser evil. Thanks.