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: Thu, 30 Apr 2020 09:37:58 +0200 Message-ID: References: <87tv2lhg2p.fsf@skimble.plus.com> <87d08a9vb9.fsf@gmail.com> <83mu7cg0k8.fsf@gnu.org> <83pnc7enyx.fsf@gnu.org> <87r1w5384c.fsf@gnus.org> 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="85368"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stepnem@gmail.com, 40118@debbugs.gnu.org, boudiccas@skimble.plus.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 30 09:39:13 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 1jU3mq-000M70-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Apr 2020 09:39:12 +0200 Original-Received: from localhost ([::1]:55914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU3mp-0005I9-5e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Apr 2020 03:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU3mg-0005FK-NR for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2020 03:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU3mg-0008MK-An for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2020 03:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jU3mf-0008MF-Uj for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2020 03:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jU3mf-0003qa-Rc for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2020 03:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Apr 2020 07:39:01 +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.158823228914726 (code B ref 40118); Thu, 30 Apr 2020 07:39:01 +0000 Original-Received: (at 40118) by debbugs.gnu.org; 30 Apr 2020 07:38:09 +0000 Original-Received: from localhost ([127.0.0.1]:45266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU3lo-0003pS-S6 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 03:38:09 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:45556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU3lm-0003p2-PO for 40118@debbugs.gnu.org; Thu, 30 Apr 2020 03:38:07 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id o27so260932wra.12 for <40118@debbugs.gnu.org>; Thu, 30 Apr 2020 00:38:06 -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=TSw1cXHa7mpHBsEAd6yB7kPabf206RFr4WE/z+uenZ4=; b=VF51M48oM0M1XtwVgBj/Eb0eIR7Iezoy2iCCL9VLTMOiLmJdzuccsL0S3untHHMlg2 bCZvIXiWaO9ORBCU3eVMqO4Gs/a1cfdn/SvwnX9G/VQaUeBSJicDWJVK2er5bbl3FR+I 60gcbZK1c22FTW4j9jWtKdH1UBRrb3cORykHXTuCB59aBeNdRYbmXw30jBeYjbo4AVKp vqikYepyRXvebSgBTvtuI4fnzRgi4Ph6xl8NJXGP4ZbBQCyF5ni9qImDmeDtXefm3waP EQWWt5p/EOO93Z6ThEoJAcS7T2QyxjChnAO9iWAkf4paQ7hhCWOxuKGKA7vFiqf7IcMD ZT5g== 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=TSw1cXHa7mpHBsEAd6yB7kPabf206RFr4WE/z+uenZ4=; b=Wimxc4DqPq7OE1l25Kzfa51Z4ulTPTFqpnb67sw360cW/mhHZbAQdbBUI0PLTM5/Lz gDb6WVCb14KOlUvO8S9IA6CfK5B4nV9KtMWFm/w2Np0qyu5XbRb1p86N7p4Vu7m9MpBs ZC9CiW3cPkraIe6CCqFZ5HjY+JA4OysW2/KO94ZSyrRO+xb3qr6JGc08NSXJ7QbVK7W1 ig1W2LtTqTZp0gDZ7cR2DA1DmqHItmJB+Yyp0kIXR9qnaeymO54ab+ZKGKwN+4P/yhGF ZDVkyAnPy59jFr7ZbYbP8rxQif8WuTCnvBpyBxr5gTPRX5i7t+qnJMWZ4jWkPrFrQxHf +WGQ== X-Gm-Message-State: AGi0PuY05U7p72RfH/aBc/CrezCMIHop9eDtdfhgn2vm6kC2p56oZ1Nh TDUeg74qsAdXgrK5+AzakgI= X-Google-Smtp-Source: APiQypILOVPgy77I00PxmCX2PaQY8ZUDz82opw/aORq+QokH8ll0wAtrqFtCRuWTd58jexvtNjScAA== X-Received: by 2002:adf:f844:: with SMTP id d4mr2253026wrq.362.1588232280739; Thu, 30 Apr 2020 00:38:00 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:6995:119d:ea5d:1ea3]) by smtp.gmail.com with ESMTPSA id e11sm2557715wrn.87.2020.04.30.00.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 00:37:59 -0700 (PDT) In-Reply-To: <87r1w5384c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 30 Apr 2020 06:33:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:179378 Archived-At: >>>>> On Thu, 30 Apr 2020 06:33:39 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> I don=CA=BCt know. Lars? (and why only for signing and not encryptin= g?) >>=20 >> commit 9c81149ae9165b0f017d60d141221b340879baef >> Author: Lars Ingebrigtsen >> Date: Wed Oct 9 21:55:41 2019 +0200 >>=20 >> Make mml-secure-epg-sign bug out if we can't find an identity >>=20 >> * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Bug out if we >> couldn't find anything to sign with instead of silently pretending >> to sign. Lars> It's odd that the commit isn't tied to a bug report, because I re= member Lars> twiddling with this stuff as a result of a report? Lars> Anyway, I think it's correct to bug out here if we can't find a s= igner, Lars> but the error message is, as you note, somewhat wrong. I don=CA=BCt think it=CA=BCs correct: previous to this change, telling gnus= to sign an email would result in gpg using your default key, which in 99% of the cases is the right thing to do. The 1% know how to override it. Hence my strong desire to set mml-secure-{smime,openpgp}-sign-with-sender to t. Or do the query thing I proposed a patch for earlier. Or update the message. In that order of preference, I think. Lars> I think. As you note, it's odd that it's only doing this when si= gning Lars> and not encrypting. That=CA=BCs a separate issue. And proobably only affects 1% of the 1% :-) Robert