Closed Bug 1193494 Opened 6 years ago Closed 6 years ago
Never prefer SASL PLAIN for JS-XMPP auth even over encrypted connections
Currently if the server sends the supported auth mechanisms in an order such that the first one we support is PLAIN, we use that even if there are better mechanisms available, as long as the connection is encrypted. This isn't really a problem, but we might as well pick a better method.
Comment on attachment 8646552 [details] [diff] [review] neverplain.diff Review of attachment 8646552 [details] [diff] [review]: ----------------------------------------------------------------- How difficult would it be to have tests that just respond with the mechanisms and ensure that we choose the proper one with different sets of options?
Attachment #8646552 - Flags: review?(clokep) → review+
(In reply to Patrick Cloke [:clokep] from comment #2) > How difficult would it be to have tests that just respond with the > mechanisms and ensure that we choose the proper one with different sets of > options? Filed as a separate bug as it will require separating out some of this code into a helper function that can be tested without a fakeserver.
https://hg.mozilla.org/comm-central/rev/c37d201e97fa9f2baa9fe0f8edbbb41bf59c6498 Bug 1193494 - Never prefer SASL PLAIN for JS-XMPP auth even over encrypted connections. r=clokep
Assignee: nobody → aleth
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 43
https://hg.mozilla.org/comm-central/rev/5c96590fcd6cd2fb3d6e64a1a249c06e41aaac8f Backed out bug 1193494 (changeset c37d201e97fa) as DIGEST-MD5 caused a regression for some users. rs=bustage-fix
This backout should be uplifted to esr45. (As stated in the bug description, this patch is not essential, so there is no reason to keep it while it is causing regressions.)
Backout done for TB 45
Aurora (TB 48) backout done: https://hg.mozilla.org/releases/comm-aurora/rev/8a1fa074b124
Reminder for Kent.
Attachment #8746727 - Flags: approval-comm-beta?
The approval-comm-beta? is sufficient to get my attention when I do landings for beta.
Comment on attachment 8746727 [details] KENT DONT FORGET THE BACKOUT on Beta Interesting use of a patch to send a message. But it works! http://hg.mozilla.org/releases/comm-beta/rev/5ea3c40618e7
Attachment #8746727 - Flags: approval-comm-beta? → approval-comm-beta+
BTW I am not currently monitoring tracking flags other than for major releases. I'm not saying that is the right thing to do, but it is the current practice.
You need to log in before you can comment on or make changes to this bug.