On 17 Nov 2026, at 5:33, Viktor Dukhovni wrote:

Taking a close look at the current DKIM2 I see some opportunities for
simplification.

I haven’t been following DKIM2 as closely as I perhaps should, but I’m also concerned about the complexity here. I’m worried that it is an instance of the Second-System Effect described in Frederick Brooks’s classic book, _The Mythical Man-Month_. https://archive.org/details/MythicalManMonth/page/n65/mode/2up

I am reluctantly willing to take it as given that replay of already
signed messages is a practically significant issue for at least some of
the larger providers, and that this warrants signing their mail with
DKIM2, allowing receiving systems to detect unauthorised replays.

I’m also willing to stipulate that, although I think the language in the description of rt= (Sec. 10.6) needs to be tightened up to preserve the confidentiality of bcc: recipients. I’ll address that in a separate message.

That said, much of the complexity of the design is a result of the
design also attempting to authenticate bounces of messages that
might have been modified in transit.  This major redesign of
the reverse path is, at least for me, a bridge too far.  Is this
absolutely necessary?  The cure looks worse than the disease.

So I'd like to see DKIM2 slimmed down, to just make the minimal
requisite forward-path changes, and leave the reverse path alone.

I can’t say that I understand the backscatter threat fully. But there is another privacy consideration that should be observed. When a message is forwarded (let’s say, through an alumni forwarding service), the sender of the message is not entitled to know to what address it was forwarded. This might be important, for example, in the case of someone who moved as a result of being stalked and doesn’t want to give their stalker hints about where they are. I’m concerned that the solution here might reveal that through bounces. This is of course a much smaller issue than the confidentiality of bcc.

Secondly, I'd like to suggest that this is not a one-size-fits-all
design.  Its complexity is heavily weighted towards the problems faced
by the largest providers who offer free or low-cost services to all
comers.  Many domains (e.g. my own), have no need to be concerned with
message replays.  I don't host any users who author messages that
an attacker would find profitable to replay.

With that in mind, I'd like to suggest that email systems that have no
need for the additional anti-replay protection be able to opt-out of
that feature set entirely, and should be able to sign just the
message-content, sans envelope, when that meets their needs.  This
substantially reduces complexity, and supports continued delivery of
multi-recipient mail without disclosing Bcc recipients in the message
payload.

I also don’t care much about anti-replay, but it’s often small (perhaps throw-away) domains that are sending and replaying messages to the large mail providers. If small domains like mine can opt-out, so can the attackers in this situation.

I also wonder about how the opt-out mechanism would work. It seems like the opt-out would need to be expressed in something like a DMARC record, or in the selector DNS record itself, and either of those would violate the design goal of not requiring anything to change in DNS.

-Jim
_______________________________________________
Ietf-dkim mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to