[Bug 96796] wocky tests were not updated for SCRAM-SHA-1 support
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 5 00:02:53 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96796
--- Comment #2 from diane at ghic.org ---
Created attachment 124899
--> https://bugs.freedesktop.org/attachment.cgi?id=124899&action=edit
SCRAM-SHA-1 returns BADPROT for a bad password match
I went looking for the error message:
sasl error (-5): SASL(-5): bad protocol / cancel: StoredKey mismatch
and found it here:
http://sources.debian.net/src/cyrus-sasl2/2.1.26.dfsg1-15/plugins/scram.c/#L1346
My solution was to catch the SASL_BADPROT case and treat it as an invalid
password. Though BADPROT can happen for other reasons that are not currently
being tested. (Like sending challenge responses too early)
With the these two patches I don't seem to be getting authentication errors
now.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list