On Thu 17/Jul/2025 11:41:15 +0200 John Levine wrote:
It appears that Bron Gondwana  <[email protected]> said:
Tags with duplicate names MUST NOT occur within a single tag-list; if a tag name does occur more than once, the entire tag-list is invalid.

So if we want to allow multiple b= keys, we would have to change this definition, which might cause issues with existing libraries that were built on this invariant.

Or we could slice it the other way as I suggested a few messages back,

   ... s=sel1:sel2:sel3 a=alg1:alg2:alg3 b=hash1:hash2:hash3 ...


When programming, it is always preferable to define structures rather than using coordinated arrays.


If we go with my proposal to allow a single selector to have multiple keys with different algorithms, we could simplify it to

   ... s=sel a=alg1:alg2:alg3 b=hash1:hash2:hash3 ...


That's a bit better, as it eliminates one array.  However, what about:

    ... s=sel; ab=alg1:hash1, alg2:hash2, alg3:hash3 ...?


Best
Ale
--




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

Reply via email to