luaossl
luaossl copied to clipboard
Most comprehensive OpenSSL module in the Lua universe.
I need some additional certificate checking during verification. Vanilla OpenSSL library provides support for custom verify callback as described here https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_verify.html Unfortunately luaossl doesn't support this feature at the moment....
Starting with Clang-16, there is a warning, which will be in future a fatal and cause compilation to fail. ```-Werror=deprecated-non-prototype issues are forbidden in C23 (C2x) so at the latest,...
OS: Fedora 31 luarocks: 3.0.3 openssl: 1.1.1 ``` Installing https://luarocks.org/luaossl-20190731-0.src.rock Applying patch config.h.diff... Hunk 1 found at offset 2... gcc -O2 -fPIC -I/usr/include -c src/openssl.c -o src/openssl.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl...
lua5.2.3 error: dlopeb: PKCS12_create
This would allow loading a serialized [JWK](https://www.rfc-editor.org/rfc/rfc7517.html) structure back into a usable form.
Compile with -DOPENSSL_API_COMPAT=0x10100000L to see the failures. Mostly missing headers. Example: ``` src/openssl.c: In function 'ossl_version': src/openssl.c:3081:38: warning: implicit declaration of function 'SSLeay'; did you mean 'SSLerr'? [-Wimplicit-function-declaration] 3081 |...
- `ctx:setCertificateFromFile` calls `SSL_CTX_use_certificate_chain_file` to add a certificate chain from a pem encoded file specified by the string argument path. - `ctx:setPrivateKeyFromFile` calls `SSL_CTX_use_private_key_file` to add a private key from...
On aarch64 system (ubuntu focal) following happens: ``` Installing https://luarocks.org/luaossl-20200709-0.src.rock Error: Failed installing dependency: https://luarocks.org/luaossl-20200709-0.src.rock - Could not find library file for CRYPTO No file libcrypto.a in /usr/lib No file...
# arch mips # lua version lua 5.1 # openssl version WARNING: can't open config file: /usr/local/ssl/openssl.cnf OpenSSL 1.0.2o 27 Mar 2018 **exec following lua script,has exception : lua: oops:...
Luaossl should provide a method to take a string of a full chain of certs and take the first one and use it, and then bundle the rest into a...