Simple-WebSocket-Server icon indicating copy to clipboard operation
Simple-WebSocket-Server copied to clipboard

Make openssl dependency optional?

Open falconair opened this issue 9 years ago • 3 comments

I am attempting to use this library for an internal project. I would REALLY like to avoid openssl. Could you make openssl optional?

falconair avatar Jul 25 '16 21:07 falconair

Sadly, openssl is used for hashing and creating base64 strings. That is, openssl is needed for both WS and WSS.

eidheim avatar Jul 26 '16 08:07 eidheim

sorry,I do not use openssl with this  library. ------------------------------------------------------------------发件人:Shahbaz Chaudhary [email protected]发送时间:2016年7月26日(星期二) 05:30收件人:eidheim/Simple-WebSocket-Server [email protected]主 题:[eidheim/Simple-WebSocket-Server] Make openssl dependency optional? (#38) I am attempting to use this library for an internal project. I would REALLY like to avoid openssl. Could you make openssl optional? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

luoyurain716 avatar Jul 29 '16 04:07 luoyurain716

OpenSSL is used internally in both the WS and WSS implementations; to read the Sec-WebSocket-Key header field, and to create the Sec-WebSocket-Accept header field, in the handshake.

eidheim avatar Jul 29 '16 08:07 eidheim