-
Notifications
You must be signed in to change notification settings - Fork 170
SecKey length #24
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
Comments
I'm ok with changing the default length to 24 characters, could you please submit a pull request for this? At this point, I don't think we need an option to make it configurable ... |
Sorry, I don't currently have the time/urgence to do it since we're reconsidering using arduino for our use-case. I will still leave this open in case someone else wants to tackle this! |
PR #26 submitted for this. |
Closed via #26. |
Hey, currently the SecKey length is fixed to 21 chars (https://github.com/arduino-libraries/ArduinoHttpClient/blob/master/src/WebSocketClient.cpp#L39), but I've seen some examples (f.e. wikipedia article) using 24 chars. There doesn't seem to be a specification about the length, but I've stumbled upon libraries that expect the length of 24 chars (https://www.npmjs.com/package/uws).
So, I'd suggest to make the SecKey length overwritable and maybe change the default length to 24 characters.
The text was updated successfully, but these errors were encountered: