Skip to content
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

Upgrade ws to last stable version #543

Closed
wants to merge 1 commit into from
Closed

Upgrade ws to last stable version #543

wants to merge 1 commit into from

Conversation

antoniobusrod
Copy link

Apply commit "[fix] Use crypto.randomBytes() to generate the masking key"

Apply commit "[fix] Use `crypto.randomBytes()` to generate the masking key"

- websockets/ws@7253f06
- https://medium.com/@betable/tifu-by-using-math-random-f1c308c4fd9d
@mcollina
Copy link
Member

ws v2 is not compatible with this module.

Also, this is not vulnerable, as https://github.com/websockets/ws/releases/tag/1.1.2 will be pulled.

@mcollina mcollina closed this Feb 15, 2017
@antoniobusrod
Copy link
Author

Hi @mcollina if WS@2.x is not compatible, why tests are passing?

https://travis-ci.org/mqttjs/MQTT.js/builds/201847951

@mcollina
Copy link
Member

mcollina commented Feb 15, 2017

because we use ws in websocket-stream: max-mapper/websocket-stream#106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants