flaribbit / love2d-lua-websocket

websocket client pure lua implement for love2d
MIT License
36 stars 10 forks source link

About TLS/SSL #5

Open flaribbit opened 3 years ago

flaribbit commented 3 years ago

This library aims to be simple and easy to use. Using SSL libraries will make it difficult to configure and build for lua developers, so WSS connection will not be implemented.

flaribbit commented 3 years ago

löve-ws with OpenSSL

holywyvern commented 2 days ago

Just pointing this out for people in the future.

Right now to make work of luasec in love it's a bit complex, but I'm going to write the details here:

You can use old prebuild libraries from here (https://github.com/26F-Studio/love-luasec)

If I'm not mistaken, the rest of the library should work without extra changes, but I'll need to test it out in more detail.

Love your pure lua implementation, it's way simpler. And yes, TSL/SSL is pure pain, indeed.

flaribbit commented 2 days ago

@holywyvern Thank you for your testing and for sharing the steps to make the lib work with luasec. Your instructions are clear and will undoubtedly help other developers who need TLS/SSL support in the future.

f6ee95ac6c30d612dd02cda180a4da21