[Standards] XEP-0115 1.4pre2

Dave Cridland dave at cridland.net
Thu Jul 12 10:41:18 UTC 2007

On Wed Jul 11 15:59:39 2007, Peter Saint-Andre wrote:
> http://www.xmpp.org/extensions/tmp/xep-0115-1.4.html

This looks good.

For maximum pedantry, you might note that the base64 encoding used 
MUST NOT contain whitespace (which RFC 4648 says is the default 
anyway) and MUST set padding bits to 0 (which RFC 4648 says 
applications MAY require).

These requirements mean that the resultant base64 from any given 
input has precisely one form, and so can be used for direct 
comparison. Implementations MAY choose to decode the base64 and 
compare hashes directly (and if you mandate this, then you can skip 
the para above).

Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

More information about the Standards mailing list