wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.
http://25thandclement.com/~william/projects/luaossl.html
Other
140 stars 49 forks source link

Status of Standalone SSL I/O? #216

Closed ghost closed 3 months ago

ghost commented 3 months ago

According to the main page:

Basic bindings to OpenSSL's SSL* session and SSL_CTX* prototype objects are available, but they cannot yet be used standalone to do SSL I/O. 

Is there any work being done on this? Or is it still on the to-do list. Just wanted to make sure before I start digging in the source code to see if I can maybe write some bindings myself.

Cheers!

daurnimator commented 3 months ago

Is there any work being done on this?

The intention is that such functionality is in a 3rd party library.

cqueues (https://github.com/wahern/cqueues/) is the most authorative/recommended but by no means exclusive.

ghost commented 3 months ago

Thanks for answering.

I'll see if I can get cqueues to work. The problem is that I am trying to keep the project itself as tiny as possible. OpenSSL is already a big problem, and since most of the code uses LuaSocket I would've hoped there would be a LuaSocket option that would integrate nicely without pulling in more stuff (LuaSec has its own bindings for OpenSSL, why would I need 2 bindings?).

Anyways, closing this issue now as the original question has been answered. Have a good one, cheers!