Smack sends single equals sign ('=') as SASL response
Description
I have a little issue with this portion of code from SASLMechanism.java concerning the element
This codes send a '=' instead of an empty response element. '=' is not a valid base64 string. This is generally the last response of a challenge so many servers don't check the additional data but some like jabberd2 check it and send an incorrect-encoding failure. I attach the corresponding exchange.
Unfortunately, the fix was applied to trunk instead of the 3.2 branch so it did not get included in the 3.2.1 release. Luckily it is a simple fix, so it will be easy to apply to 3.2.2.
Walter Ebeling
July 7, 2011 at 9:44 PM
Unfortunately there are report about this as being not fixed in 2.6.3.
I have a little issue with this portion of code from SASLMechanism.java concerning the element
This codes send a '=' instead of an empty response element. '=' is not a valid base64 string. This is generally the last response of a challenge so many servers don't check the additional data but some like jabberd2 check it and send an incorrect-encoding failure. I attach the corresponding exchange.