From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Kahn Gillmor Newsgroups: gmane.emacs.bugs Subject: bug#45631: 27.1; regression: message-forward-ignored-headers no longer applies when forwarding as MIME Date: Sun, 10 Jan 2021 16:41:20 -0500 Message-ID: <87ft385v27.fsf@fifthhorseman.net> References: <87mtxq7xmd.fsf@fifthhorseman.net> <87y2h71qj5.fsf@gmail.com> <87mtxn6k69.fsf@fifthhorseman.net> <878s961hmq.fsf@gmail.com> <87mtxgq0qo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30508"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45631@debbugs.gnu.org To: Lars Ingebrigtsen , Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 02:45:11 2021 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 1kymGd-0007n3-1w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 02:45:11 +0100 Original-Received: from localhost ([::1]:34016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kymGb-0007Ju-Sn for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 20:45:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kymGU-0007Jh-UO for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 20:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kymGU-0001HJ-N6 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 20:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kymGU-0001p0-KT for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 20:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Kahn Gillmor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jan 2021 01:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45631 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 45631-submit@debbugs.gnu.org id=B45631.16103294886964 (code B ref 45631); Mon, 11 Jan 2021 01:45:02 +0000 Original-Received: (at 45631) by debbugs.gnu.org; 11 Jan 2021 01:44:48 +0000 Original-Received: from localhost ([127.0.0.1]:55277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kymGF-0001oG-RV for submit@debbugs.gnu.org; Sun, 10 Jan 2021 20:44:48 -0500 Original-Received: from [162.247.75.117] (port=48707 helo=che.mayfirst.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kymGE-0001o8-8M for 45631@debbugs.gnu.org; Sun, 10 Jan 2021 20:44:46 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1610329485; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=/Mxt78DMJzB2dQljihgA07oNXpm80wT3SSGrkEBbF/o=; b=cNB9Wx80W8NOJv18z9FjhVm1xGTpxNKry8vJJLQW42k4m/0/bMrD6L17SWfKINzXFkcrD o9vVhoFz+YyFyBsBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1610329485; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=/Mxt78DMJzB2dQljihgA07oNXpm80wT3SSGrkEBbF/o=; b=RyxJmfYvdPQMH1tkkAf2O03Hkb2V7d3YmGNQ8+ewRAynToOjjkz1CVV1IEUpvFrt/UovH FWd7XTeZ5WwZmzDtWZ30OgrroPsL9uFSMJln5PhKcX2EHxPH15iOVBk4SE1i939UWlTc8LM vJ5xy8hMaqA6VTqW+NscbyroX0QLFQa5TwBdU8hmIccKHGhYFCH8cXEUMyuE29XBj4gsgbo Wx56HZBY9kaiJsrYqrQFqUxbRaCcf0M21ZIfbQldbbl7kOivtuLfDMLlDEA0zs8IhBwYfSE vTiHnQrz7QXmVDU1Kusa4k2TUvhiAXjed/93YJzcmNAEpB9ScEVTNY3COAzw== Original-Received: from fifthhorseman.net (unknown [64.234.56.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id AE7BFF9A5; Sun, 10 Jan 2021 20:44:44 -0500 (EST) Original-Received: by fifthhorseman.net (Postfix, from userid 1000) id 2030F2008C; Sun, 10 Jan 2021 16:41:23 -0500 (EST) In-Reply-To: <87mtxgq0qo.fsf@gnus.org> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQULCQgH AgYVCgkICwIEFgIDAQIeAQIXgAIZARYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJd5Hw3BQkFpJWB AAoJEPIGkReQOOXGDYEA/j0ERjPxDleKMZ2LDcWc/3o5cLFwAVzBKQHppu0Be5IWAP0aeTnyEqlp RTE7M8zugwkhYeUYfYu0BjecDUMnYz6iDLgzBF3kewUWCSsGAQQB2kcPAQEHQK1IuW0GZmcrs2mx CYMl8IHse0tMF8cP7eBNXevrlx2ZiPUEGBYIACYCGwIWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUC XeR7TwUJAiGl/gCBdiAEGRYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXeR7BQAKCRDEDyVU MvKBD7KmAQCHs+7588C4jto6fMje0Nu97zzoppjJM7lrGF2rVnbHvwD+MgmGUbHzPSUrTWnZBQDi /QM595bxNrBA4N1CiXhs2AMJEPIGkReQOOXGpp0BAM7YeBnt/UNvxJAGm4DidSfHU7RDMWe6Tgux HrH21cDkAQC9leNFXJsQ7F2ZniRPHa8CkictcQEKPL8VCWpfe8LbArg4BF3ke5wSCisGAQQBl1UB BQEBB0Cf+EiAXtntQMf51xpqb6uZ5O0eCLAZtkg0SXHjA1Jl X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:197672 Archived-At: --=-=-= Content-Type: text/plain Hi Lars-- On Sun 2021-01-10 16:18:23 +0100, Lars Ingebrigtsen wrote: > Looking over that mess again, I think my analysis of when that variable > is used, and when it's supposed to be used, was wrong. I've now make it > respect that variable even if message-forward-show-mml is nil. The only > instance it won't be used is if message-forward-show-mml is `best', and > we're forwarding an encrypted/signed message. Thanks for taking a look at this. I'm trying to understand the rationale for *not* trimming headers when message-forward-show-mml is `best' and we're forwarding an encrypted/signed message. If the headers being trimmed are strictly in the header section of the forwarded message, then they aren't in the cryptographic envelope [0], which means that they aren't implicated in either a standard PGP/MIME or S/MIME signature or encryption. Is the expectation that headers of internal parts of the message are being trimmed (in which case, they might be implicated in the signature or encryption)? or, is there some situation i'm missing where they might have an impact on the cryptographic structure? --dkg [0] https://www.ietf.org/archive/id/draft-dkg-lamps-e2e-mail-guidance-00.html has definitions of "cryptographic envelope" and other hopefully-useful concepts and terminology. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCX/t0ggAKCRDEDyVUMvKB D8TFAPsGQ7abN8L4nQykhDwKoBS6frl/YVa51mCuyZBRzTg8QgD7BOFc38bA2O18 ssS4dbvZ64EU2OBFMqnaNhlLIISgtQI= =iU02 -----END PGP SIGNATURE----- --=-=-=--