luaossl
luaossl copied to clipboard
Most comprehensive OpenSSL module in the Lua universe.
Need a way to call the deriving and also a way to create the keys from raw EC point data. Closes #213
Need to call `EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);` with the ec pkey and then `EVP_PKEY_derive_init` from that ctx then call `EVP_PKEY_derive_set_peer` and finally `EVP_PKEY_derive` Right now there is no way I...
Is there any way to set a random x509 serial number when creating a x509 self signed certificate? The openssl command line tool calls `BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY))`. Is there...
build tested on OpenBSD 7.2-current (with LibreSSL 3.7.1) one possible problem is `SSL_client_version()`. I used `SSL_version()` as alternative: - `SSL` struct is now opaque - `SSL_client_version()` is unavailable but `SSL_client_version()`...
OS: OpenBSD 7.2 -release flavor Hardware: Raspberry pi 4 luarocks: luarocks-5.3 3.9.1 openssl: LibreSSL 3.6.0 ``` $ doas luarocks-5.3 install luaossl Installing https://luarocks.org/luaossl-20220711-0.src.rock luaossl 20220711-0 depends on lua (5.3-1 provided...
Calling `ERR_clear_error()` releases the buffers that hold the path/filename, so we need to push those to Lua (which will copy them) before they are released. The problem can be verified...
# What does it do? Add methods on CSR to deal with attributes ``` getAttribute(name, startpos=-1) => (first attribute with that name after startpos) and pos as multiple values getAttributeTypes()...