Hi!
On 7/29/26 18:01, John R Levine wrote:
On Wed, 29 Jul 2026, Wei Chuang wrote:
wiggle room on how to interpret multiple signatures. It only mandates
PERMAIL if all signatures fail in a DKIM2 signature header field. My
read
is that it is up to local policy whether to "AND" multiple
signatures, or to
"OR" them. This helps with the the ramp up of a new algorithm ...
I don't see how that would work. If there's two signatures, you only
understand one of them, and your policy is 'AND' what do you do?
Either you fail the message, or your policy isn't really 'AND'. The
only policy that makes sense is 'OR'.
The spec talks about the signature entries the validator supports (which
are currently at least RSA and ED25519 for a conforming implementation).
So first take that subset. If it's empty, it's an error (the spec
doesn't specify an error code for that though, so no idea if that would
be FAIL or PERMERROR).
If the subset has exactly one element, the result is clearly specified.
Only if that subset is larger than 1, then we can talk about AND or OR
reasonably.
I.e. together with that subsetting, we _can_ talk about AND reasonably IMO.
Our verifier draft here at least would treat a two-entry s= (RSA +
ED25519) exactly the same as a three-entry s= (RSA + ED25519 +
unknown-extension).
And as the draft specifies an error code "FAIL: DKIM2-Signature i=<x>
<s1> signature passed, <s2> signature failed", for now we took that as a
hint towards AND (among the _supported_ algorithms within s=).
If we were to decide towards OR (to reduce interop risks in algorithm
transitions, for example), this error code would vanish. Instead there
would something like: implementations of verifiers MAY supply
supplemental info about failed signature entries along a PASS result, in
an implementation defined way.
[...]
Hannah.
--
Hannah Stern
Software Developer
Mail Transfer Development
1&1 Mail & Media Development & Technology GmbH | | |
Phone: +49 721 91374-4519
E-Mail: [email protected] | Web: www.mail-and-media.com www.gmx.net
www.web.de www.mail.com www.united-internet-media.de
Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 5452
Geschäftsführer: Alexander Charles, Dr. Michael Hagenau, Thomas Ludwig, Dr.
Verena Patzelt
Member of United Internet
Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen
enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail
irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten
Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist untersagt,
diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise
auch immer zu verwenden.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient of this e-mail, you are hereby notified that saving,
distribution or use of the content of this e-mail in any way is prohibited. If
you have received this e-mail in error, please notify the sender and delete the
e-mail.
_______________________________________________
Ietf-dkim mailing list -- [email protected]
To unsubscribe send an email to [email protected]