-
Notifications
You must be signed in to change notification settings - Fork 17
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
Order of the keys for the challenge #4
Comments
Hmm, according to http://www.whatwg.org/specs/web-socket-protocol/:
Can you elaborate on what part of the spec you're referring to? |
Client: page 26, point 42 This was really poor design choice and useless pain to implement (web browsers do not even bother to shuffle the headers, that's why your server works with them), but quite clear in the spec imho. Finally, this draft is depreciated (security concerns raised by ieee hybi group members) and lots of discussions are still going on. Currently no clear view yet where websockets are going. |
In the twisted websocket client ( http://bitbucket.org/aprilmay/txwebsocketclient/ ), two challenges are maintained (keys shuffled of not). See lines 388 to 404 of |
I am glad I found this, as I had just started working on a WebSocket server toy project today. It is disappointing that this draft is expiring as I see WebSockets being one of the more interesting and important changes with HTML5. I hope they will keep everyone informed with the changes they plan for the future. |
Seems thata we can get away with claiming we support WebSockets protocol version 7, too.
The protocol mentions that the challenge must be computed with concatenation of the keys as "sent on the wire" (the client should shuffle the headers). The current version always takes the order Sec-WebSocket-Key1, Sec-WebSocket-Key2.
The text was updated successfully, but these errors were encountered: