-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRAM-SHA-1 Browser Issues #83
Comments
It's this bit of code which is causing the hang in Firefox, and I expect could be causing IE7 to break too. iter is 4096 for me. for (i = 1; i < iter; i++) {
U = core_hmac_sha1(this.pass, binb2str(U_old));
for (k = 0; k < 5; k++) {
Hi[k] ^= U[k];
}
U_old = U;
} |
I'm not sure this is a "bug" as such. |
OK, that is fair enough. Perhaps there should be a way of disabling SCRAM-SHA-1 then? At the moment I am using a patched version of Strophe as I could not find a way to disable it in ejabberd (and I need to support IE7). |
I'm using the current head of strophejs master, and I notice it now uses SCRAM-SHA-1 if the server supports it. For me at least, it causes IE7 to hang until I get a dialog asking me if I want to stop the script. In Firefox 11, the browser hangs for a couple of seconds during the auth process, but works. In Chrome 17, all is fine. I was wondering if anyone else was having the same issue?
I've tested using both the strophe basic example and my own application built using strophe and get the same result with both. I'm using ejabberd 2.1.10 for the server. Using an older version of strophe which uses DIGEST-MD5 during the auth process also works fine across all browsers I've tested.
The text was updated successfully, but these errors were encountered: