Hi all, There was a brief discussion on jdev@ today about how Bits of Binary is not consistent with newer XEPs in terms of the hash algorithm names it uses. Currently it only mentions using the name "sha1" to refer to the SHA-1 hash algorithm. However, other XEPs that follow the guidelines from "XEP-0300: Use of Cryptographic Hash Functions in XMPP" [1] say to use the names from the "IANA Hash Function Textual Names Registry" [2] which uses the name "sha-1".
Since BoB does not actually mention what other algorithms are supported or what they should be called, I have submitted the following text to clarify that names should be taken from the IANA registry and XEP-0300 except if the algorithm is SHA-1 which must remain "sha1" for historical reasons. I believe this is simpler than creating a new namespace or entirely new mechanism for sending binary data around and is backwards compatible with all existing implementations, but if you have arguments to the contrary I'd love to hear them. The PR is here if you'd like to peruse the text or suggest changes: https://github.com/xsf/xeps/pull/1193 —Sam [1]: https://xmpp.org/extensions/xep-0300.html [2]: https://www.iana.org/assignments/hash-function-text-names/hash-function-text-names.xhtml -- Sam Whited _______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
