Viktor Dukhovni wrote in
 <[email protected]>:
 ...
 |The DKIM2 specification commits multiple "sins", exacerbating the
 |original sins it inherits from DKIM & DMARC (borrowing from each).  The
 |prime original sin, shortly two decades old, is failure to recognise the
 |"Sender" header as the appropriate source of the "alignment" domain when
 |present.

This is not entirely true for DKIM.  Yes, it talks about "from",
but iirc that is only a very short note, as in ~"some people may
do this", which is not that IETF MUST MUST thing.  There is a song
called "some people", ... Cliff Richard?  Hm.
And i mean, these are WGs with quite some people, and some even
propose ML-DSA44 for a DNS-based key lookup, as opposed to over
a TCP/QUIC TLS handshake.  That hurts.

But yes, that is ugly.  But .. it should be improved, not made
worse, but, in my opinion, that is what is happening.  (DKIM2 is
just plain horror in many aspects, for example, and that is really
malicious, storing a complete SMTP envelope path over all hops,
instead of keeping the possibility to make that anonymous, what
SMTP carefully allows, and people use.  As far as i know.)

Fwiw, my "DKIM access control and differential changes",
henceforth DKIX, and hopefully, finally, it is terrible, finished
by the 25th, will use the "legacy flag second" it proposes to
reinstantiate the original "originator" concept of what became the
internet message format.

I think it is better than DMARC and whatever they propose, at
least foundation-wise.  (Technical shortcomings of myself not
excluded at all, of course.)

'Thing is also, DMARC lies about the Sender field; i just looked,
funnily, the codebase i maintain learned about this "originator"
concept on 1981-03-11 -- that is 45 1/2 years! --, and if big tech
companies which pay the bills of people that write these terrible
standards create terrible user interfaces which deliver the
reasoning to create certain massive downsides of such standards,
then i think we go in the wrong circles (downstairs and not
upstairs).
The legacy flag second is in 2035, that should be doable.

DKIX for example it has a "U" flag that combines with an "ud="
domain to allow modifications for a dedicated next hop.  This
fixation can be cryptographically verified, even if the next hop
modifies the message non-reversibly.  Of course this only ever
works once this DMARC has vanished; but it seems to me there is
quite some interest in such a feature.

Moreover, it allows a "dd=" delegated domain to be specified by
a "d="omain; this allows a cryptographical link in between the
relation of "d=" and (what is now) "RFC5322.From", but later is
the "originator".
"dd=" needs to publish a TXT record with space separated
sub-domains it wants to allow for delegation, trailing dot for
absolute domains.
Of course for now this works only for one sub-domain level and in
a DMARC-compliant fashion, to not break that.
But once this DMARC has vanished, the relation can be absolutely
free, it seems to me.

(And then i mean, you know, it is all better than this ridiculous
"ladder walk" to get the public suffix thing going -- if they
would have made this a generic DNS thing, to overcome those
megabytes of public suffix lists, but no, it is DMARC specific.)

And regarding mitigations.
For me the essence is that recipients and senders are protected,
visually and at a glance.  Even in MUAs which do not speak even
MIME, not to talk about DKIX.  You need software to undo that, but
then you can.  (Having said that DKIX fully goes RFC 9057 aka
Author:, so an UI can represent that immediately.)

I mean sure, "what matters is what is there now".
But one of the terrible faults is that the effective "X via Y"
syntax is taken for granted, so what is this "reputation of the
signing party"?  Most likely everybody either perceives it via
context ("here are many trustworthy people, so that applies to the
signing party"), or .. what?

But with differential changes you can actually look behind, a good
thing to do if it is not frightening, and if you for yourself are
satisfied, you can mark it in your MUA say as "mailing-list", or
whatever it is.  Add it to your contacts, whatever.

And then, if an unchanged message comes to that say mailing-list,
DKIX has a new "cu=" tag and also flags which indicate whether
a message is still unchanged / to which extend, and it is
DKIX-verified there, then your software can automatically restore
the original, or whatever, but otherwise it could say something
like "wait, the message was already altered before it reached the
signing party you had given reputation to", and give some alert.

I mean, this makes quite some sense to me.
You have such a machinery for documents managed by many people,
and all that.  Versioning, etc.  Why not extend it to electronic
letters?  For the next decade++, you have to live with it, anyway?
So make something out of it, for the better.

Your MUA could add some header, like Status: is one for decades,
as well as X-Status, both should even be extendable i would guess,
or create a new one, without X- prefix because of RFC 6648 that is
best current practice for 1 1/2 decades, so that your user
interface does not bother you later on, again.

So your "stop the munging", with the DKIX legacy flag second, it
would be nice, but then i really got used to it.  You can simply
not modify the message, and everything is fine, already today.
I would really be nice, but i would not know how to do it really.
However, first of all, we need to get over that mess, and add
a good and sustainable foundation to make it all happen.
As in, to me DMARC and DKIM2 go in the completely wrong direction.
If there is a foundation, and it meandered into the
infrastructure, then maybe opportunities exist that i cannot
imagine or think about right now.  Anyway not now, it is late.

Good night and Ciao! from Germany,

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Ietf-dkim mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to