Hi!
On 12/16/25 19:13, John Levine wrote:
It appears that Hannah Stern <[email protected]> said:
May c: instructions in body recipies (r=) overlap? This would allow
attempts to have verifiers use excessive memory/CPU like this:
Message-Instance: v=1; ... (Referring to a one-line body)
Message-Instance: v=2; r=c:1-,c:1-,c:1-,c:1-; ...
Message-Instance: v=3; r=c:1-,c:1-,c:1-,c:1-; ...
(and up to 96 more of those)
I can't think of a plausible reason to have overlapping recipes. Unless I've
missed something it sounds like we should have a section on implementation
limits
and put that in it.
If we define them as invalid, that constraint (c: recipes may not
overlap) could perhaps be rather specified "in place" in the main
specification of theirs.
Followup question: Can c: recipies be non-monotonic? (c:4,c:2)
If they should be specified to be monotonic, an implementation could
stream and discard already processed chunks of the input version of the
mail body, on the assumption that if it has seen a c:1000 recipe, it
won't ever need lines 1-1000 of the input again.
Kind regards,
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]