unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Lars Ingebrigtsen <larsi@gnus.org>, Robert Pluim <rpluim@gmail.com>
Cc: 45631@debbugs.gnu.org
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	[thread overview]
Message-ID: <87ft385v27.fsf@fifthhorseman.net> (raw)
In-Reply-To: <87mtxgq0qo.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  parent reply	other threads:[~2021-01-10 21:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-03 17:12 bug#45631: 27.1; regression: message-forward-ignored-headers no longer applies when forwarding as MIME Daniel Kahn Gillmor
2021-01-05 13:06 ` Robert Pluim
2021-01-05 23:25   ` Daniel Kahn Gillmor
2021-01-06 10:31     ` Robert Pluim
2021-01-10 15:18       ` Lars Ingebrigtsen
2021-01-10 17:25         ` Eli Zaretskii
2021-01-11 15:04           ` Lars Ingebrigtsen
2021-01-10 21:41         ` Daniel Kahn Gillmor [this message]
2021-01-11 15:09           ` Lars Ingebrigtsen
2021-01-12 14:57             ` Daniel Kahn Gillmor
2021-01-13  9:25               ` Robert Pluim
2021-01-13 17:35                 ` Daniel Kahn Gillmor
2021-01-18 15:50               ` Lars Ingebrigtsen
2021-01-18 17:43                 ` Daniel Kahn Gillmor
2021-01-19  3:12                   ` Lars Ingebrigtsen
2021-01-19 16:19                     ` Daniel Kahn Gillmor
2021-01-20 16:17                       ` Lars Ingebrigtsen
2021-01-20 19:31                         ` Daniel Kahn Gillmor
2021-01-21 15:46                           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft385v27.fsf@fifthhorseman.net \
    --to=dkg@fifthhorseman.net \
    --cc=45631@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).