On 2016-08-25 19:19, Andrey Prokopenko wrote: > Hi fellow chatters. > Just discovered a rather nasty bug in mod_saslauth module, effectively > preventing Smack (or any other XMPP lib) to connect to the prosody. > In particular, function *build_reply* within SASL authentication module > *mod_saslauth.lua* adds "=" sign to empty response. Thus reply cannot be > decoded back from Base64 and processed with Smack library (or any other > XMPP library in fact )and fails with "invalid base" exception. > > Proposed fix: remove "=" sign assignment inside aforementioned function > and replace it with empty string. After that empty string Base 64 decode > passes flawlessly. > Tested successfully on my server. >
As replied to the issue you opened, this is intentional and per spec. https://prosody.im/issues/issue/729 If anything, whatever provides the PLAIN implementation is being a bit odd by returning additional data. -- Regards, Kim "Zash" Alvefur -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout.
Description: OpenPGP digital signature