luaossl
luaossl copied to clipboard
Most comprehensive OpenSSL module in the Lua universe.
Signed-off-by: Siger Yang Support reading pkey protected by a passphrase.
This helps with reproducible builds by making `__FILE__` resolve to just the source filename instead of the full path (which can differ from build to build).
While one can construct Ed25519 key pair with ``pkey.new {type = "ED25519"}`` it requires message digest context as its ``sign()`` input but EdDSA supports only one-shot api (https://www.openssl.org/docs/man1.1.1/man7/Ed25519.html) and consequently...
- SSL_CTX_set_keylog_callback https://github.com/daurnimator/lua-http/issues/57#issuecomment-412746488
This allows external modules to use the object cache. Note that LuaJIT users will probably need to use pushffi instead to avoid the 47bit userdata issue TODO: try and hook...
I needed master rather than the version on luarocks to fix this issue : https://github.com/wahern/luaossl/issues/53 Seemed easier to make the existing rockspec file work with the repo rather than figure...
Reported in https://github.com/daurnimator/lua-http/issues/153 ```lua local openssl_ctx = require "openssl.ssl.context" local openssl_pkey = require "openssl.pkey" local ctx = openssl_ctx.new("TLS", false) ctx:setEphemeralKey(openssl_pkey.new{ type = "EC", curve = "prime256v1" }) ```
Hi, I'm opening this issue just to try to understand what seems to be a limitation in luaossl. If it is indeed the case, I'm willing to contribute code. I'm...