[Standards] SASL protocol errors reporting
stpeter at jabber.org
Wed Jul 25 22:48:56 UTC 2007
Tomasz Sterna wrote:
> Dnia 25-07-2007, śro o godzinie 09:32 -0700, Peter Saint-Andre
>>> The actual problem is described on
>> What do you mean by "malformed challenge"?
> The contents of the BASE64 encoded data is somehow unparsable by the
> underlying SASL layer. Ex. the MD5 hash is not really an MD5 hash. Or
> there is a syntax error in the tokens, or ...
If the data uses the wrong encoding, the proper error condition is
If the data is encoded correctly but the data is bad, the proper error
condition is malformed-request.
>> We have a malformed-request error here:
> The XMPP request itself isn't malformed. It is the BASE64 encoded SASL
> data that is wrong. Does the malformed-request regard also the SASL
> layer data? It is not clear to me.
Yes. The request can be malformed even if the XML is correct. So this
error is used for both XML problems and payload problems as you describe
above. We can make this clearer in the spec.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7354 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards