[Standards] XEP-0234: Denote used hash function in session-initiate
fippo at goodadvice.pages.de
Mon Aug 21 14:20:18 UTC 2017
> What do you think?
+1 -- this was actually the intent of adding <hash/> during
session-initiate in 0.16. But the wording of this is a bit weird:
One or more <hash/> elements MUST be present when offering a file, but
those elements MAY be empty if the hash has not yet been computed. If
there is no computed hash value, the <hash/> element(s) MUST possess
an 'algo' attribute specifying which hash algorithm will be used
which might be interpreted as "include <hash/>".
drive-by nit: that paragraph links to #checksum which got renamed to #hash
More information about the Standards