From unknown Fri Jun 13 10:22:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13551 <13551@debbugs.gnu.org> To: bug#13551 <13551@debbugs.gnu.org> Subject: Status: 24.3.50; epa-mail-encrypt chooses wrong key Reply-To: bug#13551 <13551@debbugs.gnu.org> Date: Fri, 13 Jun 2025 17:22:05 +0000 retitle 13551 24.3.50; epa-mail-encrypt chooses wrong key reassign 13551 emacs submitter 13551 rms@gnu.org severity 13551 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 16:32:57 2013 Received: (at submit) by debbugs.gnu.org; 25 Jan 2013 21:32:57 +0000 Received: from localhost ([127.0.0.1]:49620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyqtM-0003Ny-LU for submit@debbugs.gnu.org; Fri, 25 Jan 2013 16:32:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58579) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyqtJ-0003Nr-Fw for submit@debbugs.gnu.org; Fri, 25 Jan 2013 16:32:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tyqt4-00008g-L4 for submit@debbugs.gnu.org; Fri, 25 Jan 2013 16:32:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyqt4-00008X-HY for submit@debbugs.gnu.org; Fri, 25 Jan 2013 16:32:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyqt1-0000Eh-BC for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 16:32:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tyqsy-00006k-JA for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 16:32:35 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyqsy-00006e-G0 for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 16:32:32 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Tyqsx-0005dB-R9; Fri, 25 Jan 2013 16:32:31 -0500 Date: Fri, 25 Jan 2013 16:32:31 -0500 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: 24.3.50; epa-mail-encrypt chooses wrong key X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) I have a public key for martin@gnu.org and a key for another martin at another host. When I encrypt a message to `martin' -- which means, in my case, `martin@gnu.org' -- epa-mail-encrypt picks the other martin. epa needs to know the default mail hostname so as to pick the correct Martin. It can get that from the value of user-mail-address, and maybe have other ways to specify it. In GNU Emacs 24.3.50.1 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12) of 2013-01-03 on chiefs-gnewsense Bzr revision: 111408 rgm@gnu.org-20130103023757-9p8awd7j9mkf0ike System Description: Debian GNU/Linux 6.0.6 (squeeze) Configured using: `configure CFLAGS=-O0 -g --with-gif=no --with-tiff=no --no-create --no-recursion' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x b o u t g TAB RET g e ESC x e p a d RET y C-n C-n C-n C-p C-e @ g n u . o r g ESC x e p a SPC m a i l SPC e n c TAB RET y y y C-x C-s C-c C-s y C-x b o u t g TAB RET g C-p e C-x b o u t - 2 9 RET C-_ ESC DEL ESC DEL DEL ESC x e p a SPC m a i l SPC e n TAB RET y y C-x 4 b RET C-x o C-x k RET y e s RET ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: Saving file /home/rms/outgoing/out-29... Wrote /home/rms/outgoing/out-29 Send buffer contents as mail message? (y or n) y Sending... Wrote /home/rms/outgoing/out-30 Sending...done Undo! No public key for rms-response-1w@gnu.org; skip it? (y or n) y No public key for rms-outgoing@gnu.org; skip it? (y or n) y Encrypting...done Load-path shadows: None found. Features: (shadow emacsbug mailalias epa-mail epa derived epg epg-config rmailmm message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 dired t-mouse time-date rmailedit rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils paren cus-start cus-load nadvice advice help-fns tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 12:40:55 2019 Received: (at 13551) by debbugs.gnu.org; 23 Sep 2019 16:40:55 +0000 Received: from localhost ([127.0.0.1]:36923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCROQ-0003IN-Vv for submit@debbugs.gnu.org; Mon, 23 Sep 2019 12:40:55 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCROP-0003IE-PN for 13551@debbugs.gnu.org; Mon, 23 Sep 2019 12:40:54 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCROL-0000tR-Vs; Mon, 23 Sep 2019 18:40:52 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#13551: 24.3.50; epa-mail-encrypt chooses wrong key References: Date: Mon, 23 Sep 2019 18:40:49 +0200 In-Reply-To: (Richard Stallman's message of "Fri, 25 Jan 2013 16:32:31 -0500") Message-ID: <87lfuf0xv2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > I have a public key for martin@gnu.org and a key for another martin at > another host. When I encrypt a message to `martin' -- which means, in > my case, `martin@gnu.org' -- epa-mail-encrypt picks t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13551 Cc: 13551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Stallman writes: > I have a public key for martin@gnu.org and a key for another martin at > another host. When I encrypt a message to `martin' -- which means, in > my case, `martin@gnu.org' -- epa-mail-encrypt picks the other martin. > > epa needs to know the default mail hostname so as to pick the correct > Martin. It can get that from the value of user-mail-address, and > maybe have other ways to specify it. I don't think any security-related software should be guessing based on incomplete email addresses. As far as I can tell, it requires a complete match, which I guess means you have a key for "martin" (without a domain name) in your key ring. Choosing this is the right thing to do, I think, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 12:41:05 2019 Received: (at control) by debbugs.gnu.org; 23 Sep 2019 16:41:05 +0000 Received: from localhost ([127.0.0.1]:36927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCROb-0003JP-7h for submit@debbugs.gnu.org; Mon, 23 Sep 2019 12:41:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCROX-0003Ih-DX for control@debbugs.gnu.org; Mon, 23 Sep 2019 12:41:01 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCROU-0000tb-Lv for control@debbugs.gnu.org; Mon, 23 Sep 2019 18:41:00 +0200 Date: Mon, 23 Sep 2019 18:40:58 +0200 Message-Id: <87k19z0xut.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13551 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 13551 notabug close 13551 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13551 notabug close 13551 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 08:58:51 2019 Received: (at 13551) by debbugs.gnu.org; 27 Sep 2019 12:58:51 +0000 Received: from localhost ([127.0.0.1]:45962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDppj-00041W-9h for submit@debbugs.gnu.org; Fri, 27 Sep 2019 08:58:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDppb-00040x-6s for 13551@debbugs.gnu.org; Fri, 27 Sep 2019 08:58:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iDppU-0002cQ-O5 for 13551@debbugs.gnu.org; Fri, 27 Sep 2019 08:58:36 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iDo3e-000599-Os; Fri, 27 Sep 2019 07:05:07 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: 13551@debbugs.gnu.org In-Reply-To: (help-debbugs@gnu.org) Subject: Re: bug#13551 acknowledged by developer (control message for bug #13551) References: <87k19z0xut.fsf@gnus.org> Message-Id: Date: Fri, 27 Sep 2019 07:05:06 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 13551 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I don't think any security-related software should be guessing based on > incomplete email addresses. As far as I can tell, it requires a > complete match, which I guess means you have a key for "martin" (without > a domain name) in your key ring. That is totally unpredictable _for the user sending a reply_. There are various possible ok things to do, but not that. Please make this case do something predictable. -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 12:12:29 2019 Received: (at 13551) by debbugs.gnu.org; 27 Sep 2019 16:12:29 +0000 Received: from localhost ([127.0.0.1]:48533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsr6-0002pc-Pt for submit@debbugs.gnu.org; Fri, 27 Sep 2019 12:12:29 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsr5-0002pQ-6b for 13551@debbugs.gnu.org; Fri, 27 Sep 2019 12:12:27 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDsr0-0003f9-TS; Fri, 27 Sep 2019 18:12:25 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#13551: acknowledged by developer (control message for bug #13551) References: <87k19z0xut.fsf@gnus.org> Date: Fri, 27 Sep 2019 18:12:22 +0200 In-Reply-To: (Richard Stallman's message of "Fri, 27 Sep 2019 07:05:06 -0400") Message-ID: <87pnjliuqh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's e [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13551 Cc: 13551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I don't think any security-related software should be guessing based on > > incomplete email addresses. As far as I can tell, it requires a > > complete match, which I guess means you have a key for "martin" (without > > a domain name) in your key ring. > > That is totally unpredictable _for the user sending a reply_. > There are various possible ok things to do, but not that. > > Please make this case do something predictable. I'm not sure I understand. I think it does do something completely predictable -- choose the key ring entry that matches what's in your "From" header. No guessing involved. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 21:32:36 2019 Received: (at 13551) by debbugs.gnu.org; 28 Sep 2019 01:32:36 +0000 Received: from localhost ([127.0.0.1]:48867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE1b6-0003yp-Pk for submit@debbugs.gnu.org; Fri, 27 Sep 2019 21:32:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE1b4-0003yR-EL for 13551@debbugs.gnu.org; Fri, 27 Sep 2019 21:32:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iE1ax-00086Q-PI; Fri, 27 Sep 2019 21:32:23 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iE1av-0002jt-HP; Fri, 27 Sep 2019 21:32:21 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: <87pnjliuqh.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 27 Sep 2019 18:12:22 +0200) Subject: Re: bug#13551: acknowledged by developer (control message for bug #13551) References: <87k19z0xut.fsf@gnus.org> <87pnjliuqh.fsf@gnus.org> Message-Id: Date: Fri, 27 Sep 2019 21:32:21 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 13551 Cc: 13551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I'm not sure I understand. I think it does do something completely > predictable -- choose the key ring entry that matches what's in your > "From" header. We seem to be failing to commnuicate. My From header always says "rms@gnu.org", but we're talking about the address I am sending to -- in the To field. Is that what you mean? The behavior that you describe is totally unpredictable for me because it depends on data I don't know, and have no other reason to know. When foo@bar.com sends me a key, I don't notice what other addresses that key covers. There is no reason to. And those alternate short addresses are not listed by epa-list-keys. If I have a key for 'arthur@gnu.org' and another for 'arthur@berkeley.edu', it is a nuisice for me to check which one, if either, lists just 'arthur' as an address. Especially since when I send mail to 'arthur@gnu.org' I may not even remember I know 'arthur@berkeley.edu'. When I send mail to just 'arthur', that is equivalent by default to 'arthur@gnu.org'. I often omit '@gnu.org' knowing this. Encryption should do the same thing: treat 'arthur' as short for 'arthur@gnu.org'. That way it will always encrypt for the person that the mail is going to. -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 15:47:21 2019 Received: (at 13551) by debbugs.gnu.org; 28 Sep 2019 19:47:21 +0000 Received: from localhost ([127.0.0.1]:51300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEIgb-0006Dj-4K for submit@debbugs.gnu.org; Sat, 28 Sep 2019 15:47:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEIgX-0006DR-7M for 13551@debbugs.gnu.org; Sat, 28 Sep 2019 15:47:17 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEIgT-0006JD-Es; Sat, 28 Sep 2019 21:47:16 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#13551: acknowledged by developer (control message for bug #13551) References: <87k19z0xut.fsf@gnus.org> <87pnjliuqh.fsf@gnus.org> Date: Sat, 28 Sep 2019 21:47:13 +0200 In-Reply-To: (Richard Stallman's message of "Fri, 27 Sep 2019 21:32:21 -0400") Message-ID: <87d0fkursu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > > I'm not sure I understand. I think it does do something completely > > predictable -- choose the key ring entry that matches what's in your > > "From" header. > > We seem to be failing to commnuic [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13551 Cc: 13551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Stallman writes: > > I'm not sure I understand. I think it does do something completely > > predictable -- choose the key ring entry that matches what's in your > > "From" header. > > We seem to be failing to commnuicate. My From header always says > "rms@gnu.org", but we're talking about the address I am sending to -- > in the To field. Is that what you mean? Yes; sorry. > When I send mail to just 'arthur', that is equivalent by default to > 'arthur@gnu.org'. I often omit '@gnu.org' knowing this. > > Encryption should do the same thing: treat 'arthur' as short for > 'arthur@gnu.org'. That way it will always encrypt for the person that > the mail is going to. Emacs cannot possibly know that when you send to "arthur", that that email will eventually end up going to "arthur@gnu.org". It could guess, but guessing in an security context is a no go. So if you want to send somebody secure messages, you have to tell Emacs what address the mail is going to: You can't just say "arthur". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 05 09:18:54 2019 Received: (at 13551) by debbugs.gnu.org; 5 Oct 2019 13:18:54 +0000 Received: from localhost ([127.0.0.1]:43916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGjxW-0003sz-Hc for submit@debbugs.gnu.org; Sat, 05 Oct 2019 09:18:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGjxU-0003sl-PZ for 13551@debbugs.gnu.org; Sat, 05 Oct 2019 09:18:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iGjxP-00051E-LN; Sat, 05 Oct 2019 09:18:47 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iGjxG-0004Xi-NI; Sat, 05 Oct 2019 09:18:40 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: <87d0fkursu.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 28 Sep 2019 21:47:13 +0200) Subject: Re: bug#13551: acknowledged by developer (control message for bug #13551) References: <87k19z0xut.fsf@gnus.org> <87pnjliuqh.fsf@gnus.org> <87d0fkursu.fsf@gnus.org> Message-Id: Date: Sat, 05 Oct 2019 09:18:38 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 13551 Cc: 13551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Emacs cannot possibly know that when you send to "arthur", that that > email will eventually end up going to "arthur@gnu.org". Sure it can. It could get the domain from mail-host-address. We could also create another variable specifically to control this. The current behavior, as you described it, is not much better security. It is unpredictable in practice for the user. However, I am not sure how much security issue there is in sending A a message encrypted for B. Nobody can decrypt that message. I have seen reason to think that the current behavior doesn't match what you described. I entered "To: rms" and encrypted the message. It recognized that was me, rms@gnu.org, and encrypted with my key. It did this even though my key does not list 'rms' with no host name as an address (as far as I can tell). gpg --edit-key rms@gnu.org gave me this: pub 4096R/2C6464AF2A8E4C02 created: 2013-07-20 expires: never usage: SC ... sub ... [ultimate] (1). Richard Stallman If the key had another address, wouldn't it be listed there? In addition, after I run the encryption command, plain 'rms' has been edited into 'rms@gnu.org'. How does it know to make that change? -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From unknown Fri Jun 13 10:22:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 07 Oct 2019 17:46:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 03 06:53:44 2023 Received: (at control) by debbugs.gnu.org; 3 Sep 2023 10:53:44 +0000 Received: from localhost ([127.0.0.1]:39733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qckjf-0003eM-Pg for submit@debbugs.gnu.org; Sun, 03 Sep 2023 06:53:43 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:53690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qckja-0003e4-Pp for control@debbugs.gnu.org; Sun, 03 Sep 2023 06:53:42 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50091b91a83so945322e87.3 for ; Sun, 03 Sep 2023 03:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693738402; x=1694343202; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=zAsjvwGDkeSDb6aeAnNxI4rhsCKCxLjG4Cjaqu5I8vk=; b=IzUfqRdriF143VWpnapImPt30WKYRfluqwmTC/DqgDcuBwjJCM7tQYqhwiCPehr9io NKuot6Xo1ISUnbkyaYvi95DihKBsiWUke0VroQGlWQKhCnxb3Q/B6zEhv+99SFZxiK8a Bpo1U90fIDXKQ7jh8DTO82zTerWD2dqxfY9wl4abIH8rEOP7aHSZ2Yu5/ut5NZD7zzmM +uDhjYvrnDKniShdSMZWcEteBVKB3mrjnYw/ixyuzaPswydwnIN/DEQv1uNL2/1XryLP gwC06cQSGx7UJzy7aVKF4F8Fb/Lq4TWf+Ji6eeoh7SWSzBeQZIpvMvAsSenjLaCg6e2K YUPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693738402; x=1694343202; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zAsjvwGDkeSDb6aeAnNxI4rhsCKCxLjG4Cjaqu5I8vk=; b=B9GxSNKGvFDgmj3jT8ZtnE8Dfur4G56cG9JN7TrJMpSq7qCZuicdwNukzv30ThciLV z0hqkFWFVsG7yKR1ihUlL827ptWeVfpBNZyQ/AvUSBvfHc34TzHHhxY4BGX4crvTDydx NbFvxJQK14g+vyt37FSxLolJwpxD8zTMoO0e8WPr+nVfy6rk+fJax6R0inGnfXu1kEHf 3fjywN3LBWuZAxP0KgaorFo8XREXR8hjla3vSvDMUi3AjW8IXQ7eCMoBktIiys/Zg/qi 8Ny2RAUX7c9GKSoiaPXYICaxi+Tw9bkQBhR1NB5UZRUg8MFohdhSjNyAj/r0BJB2tppr PrEw== X-Gm-Message-State: AOJu0YwKRZllrJTzlUSVTTecY8AJHADjX5mIIwHYf1d/H2bs6ffpnUAq VZm6AdJswbET1G/P3LGcuQya5hOH//TLaEoS6GLCtE+CN0I= X-Google-Smtp-Source: AGHT+IEi4N44at065uh9KOHTfoSgRFJNxkqBA1vdR7oEe5mWizCchZJm6ZYsxL9lKbhGdSPLmd82+ny2cAhJi1jMgZc= X-Received: by 2002:a05:6512:b86:b0:500:c936:f38a with SMTP id b6-20020a0565120b8600b00500c936f38amr5741590lfv.50.1693738402232; Sun, 03 Sep 2023 03:53:22 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 03:53:21 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Sun, 3 Sep 2023 03:53:21 -0700 Message-ID: Subject: control message for bug #13551 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 13551 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 02:24:44 2025 Received: (at control) by debbugs.gnu.org; 11 Feb 2025 07:24:44 +0000 Received: from localhost ([127.0.0.1]:53981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1thkdQ-0002Wa-0I for submit@debbugs.gnu.org; Tue, 11 Feb 2025 02:24:44 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:50315) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1thkdM-0002WJ-MH for control@debbugs.gnu.org; Tue, 11 Feb 2025 02:24:41 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5de7531434fso3729344a12.0 for ; Mon, 10 Feb 2025 23:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739258674; x=1739863474; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=dZjc/TyKoGlj8YE2SXXmzJ8+OAfBWmwrVEaS9Zj5w7g=; b=WxB4Uv30eEFzlACG6HMAS4OBnyR8b+0mbGpv6ouR2hmp5OoNLemBFSVpgpzBkqUGjs ffMaetNIbZYILNOLEp2IwD/5PCS3oE0pCe89te9ahTyLYyf1Jt2GaEX15QFyWwzlkic5 A03yCTJ3W9KVmBTrfuhOMZ2rdLMToXNT7MSN9lvd6iaqkZvYJU+QtMoLJ6QNsdvkNy/8 v6ApsjoYjSVVooBv3HKtEvyjlvzRmb+Djtqde0UOi2VMnrMUJ1hvYoBjLoSkhtstaDwB LB9+pDTPNmC7yvRNAV0GiFRy9CPBzb7ZwbPPMXglIgvPSJLl5vyf8ISOCw+W8BYtbnvZ gKXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739258674; x=1739863474; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dZjc/TyKoGlj8YE2SXXmzJ8+OAfBWmwrVEaS9Zj5w7g=; b=rYVmNXcSUbstV64yGMQ8Vs7lbto393JScJMYH5WQy36fePchiKHwikrPnHc49Ikcyy HD7X8nTWj2LSj3EAshwKgljJDdkVPEs7lZmCE9O8SPXzfmLYpcf4u73gyHQY9xb2b2ZH sJYP1qCPvrO4D2IumxIGffibt2hzhC+/B7QH0fw5LwyQd9OdrX+b9EkIG9azxc7OcstG 8mQIWuwHEfDe6azzsywLtyuLSCexlpZNu8HwymkBBRLb/WlJUqzBmf0VNzonOxBYDVw6 JW51gybXhOD7pkp05Kq2qQoi/GCjvUqyiIlBE+mUASIEP2QUKVK8Wmbg2t0UXhewmTRK r2IQ== X-Gm-Message-State: AOJu0YxsqAr9bi6xOugMnJi6FTnK6t/JDTQ/n9coYW0r8gjpFWhmDcHD cUNUVyOTYVD7eTzHaGVZWq2XWOOpgyqlDwXPpbXlk2WzQZ9QFuZdTnkXHQWaOxlE1rqM+4yXH3O AiObgew8P1Fkg4GfeM1+ONWauGuOyytBYiR0= X-Gm-Gg: ASbGncvee6WsPnfKsRXxE4c9tfBT1+V8/QGL5jdXzMJzOZ22pT26YaT9Y2RvHURyfT+ tSWAEXKfmxkti4ZuMeOHfkg3pYaS7lOy/oyk6VWRzakGxVOiCq6DnlS85gTI/jw+t9zvDtrQaDw == X-Google-Smtp-Source: AGHT+IHnvqzQ1gr3zF/kelmc+1NkPoqmNMhWsF1N96Mje1cSqkE//xlUwXxk8rZNTQzg7bRVELVF/GNtESXOozFUiyk= X-Received: by 2002:a05:6402:2084:b0:5dc:7fbe:7310 with SMTP id 4fb4d7f45d1cf-5de45040046mr16737945a12.6.1739258674048; Mon, 10 Feb 2025 23:24:34 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Feb 2025 23:24:33 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 10 Feb 2025 23:24:33 -0800 X-Gm-Features: AWEUYZlSj3pf5G0gNnlQFVxPe3cY1W9phY2F8lK8XX7sWX65KEWAHELUcoJHVfc Message-ID: Subject: control message for bug #13551 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13551 - notabug quit