On Fri, Apr 19, 2024 at 03:41:40PM -0400, Derek Martin wrote:

On Fri, Apr 19, 2024 at 09:05:23AM -0700, Will Yardley wrote:
It's odd to me that, since OpenPGP and S/MIME both support MIME
encapsulation that the draft standard wouldn't use a separate MIME part
to handle the protected headers vs. stuffing it at the top of the
message body, which just seems kind of kludgy at best.

This also seems like a perfectly cromulent approach, and again better
than the proposed one which puts nonstandard headers in a place where
no standard says they can be. [Or perhaps the correct wording would
be, "...which nonstandardly puts standard headers in a place where no
standard says they should be."]

Are you both thinking of defining a new MIME type to hold only the protected headers? I thought of that. It seems cleaner...I see no mention of that in the draft we're talking about, not even to reject it. I suppose old mail readers wouldn't know what to do with that new body part. They might display it if it's a subtype of text.

Turns out an earlier way to protect headers was added in S/MIME 3.1. It puts the whole message, including the header section, in a body part of type message/rfc822, and wraps a crypto body part around that. So the message contains a copy of itself, sort of.

The draft calls that mechanism "wrapped". The draft wants to replace that with this header-stuffing thing because "legacy" mail readers are sometimes confused by the wrapped message. The draft says header-stuffing is less likely to confuse mail readers that never heard of either scheme.

MIME header blocks are for MIME-specific metadata; even if no mail
clients actually break due to this, it still feels gross.

Agreed.

I would like to hold off on this until the draft becomes an RFC, if it does.

Reply via email to