[Standards] hash agility in file transfer
dave at cridland.net
Thu Jun 16 08:02:54 UTC 2011
On Thu Jun 16 08:58:27 2011, Remko Tronçon wrote:
> I think 99% will want to say 1, but I think we have to go with 2 in
> case someone doesn't. Ash I think that supporting 2 is enough, no?
> would only be convenience, but it's easy enough to programatically
> all hashes you support for every feature that supports hashes?)
True - (1) is a way of forcing implementors to unify their hashing,
and it's probably not required.
> And as element names: the IANA hash names are all upper case, right?
> Can we get by by agreeing we use the lowercase version of the IANA
> names as element names?
The usual way that IANA names differ from other names is that IANA
always hash the hyphen in SHA names, hence "sha-1" instead of "sha1".
Generally, most protocols treat them as case insensitive, I believe,
hence "SHA-1" == "sha-1", but I don't think we have that option with
(We do, of course, with simple attributes, but the risk there is that
we would have different comparisons in different cases, and therefore
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at dave.cridland.net
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
More information about the Standards