lua-resty-openssl
lua-resty-openssl copied to clipboard
FFI-based OpenSSL binding for OpenResty
Hi how could this error be resolved? journalctl -xe [log] ``` nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/resty/openssl/version.lua:60: OpenSSL has encountered an error: /usr/local/share/lua/5.1/resty/openssl/version.lua:45: /usr/local/lib/libluajit-5.1.so.2: undefined symbol: SSLeay; is OpenSSL library loaded?...
https://www.openssl.org/docs/manmaster/man7/migration_guide.html - [x] Library context (for non-global provider) - [ ] EVP_PKEY_get_x_params to replace TYPE_get0_PRARM, EVP_PKEY_fromdata to replace TYPE_set0_x (pkey:get_parameters/pkey:set_parameters) - [ ] RSA_get0_x, RSA_set0_x - [ ] DH_get0_x -...
It has ``` $(INSTALL) lib/resty/openssl*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/ $(INSTALL) lib/resty/openssl/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/openssl/ ``` but this misses "auxiliary", "include" and "x509" subdirs in resty/openssl/ dir I guess the same problem was in #2
I receive the following error when constructing a public key from an exponent and modulus: > ignoring stale global SSL error (SSL: error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding error:04067072:rsa routines:rsa_ossl_public_decrypt:padding check failed) This...
https://github.com/fffonion/lua-resty-openssl/blob/c155a3a9afd4ca833f62851c1335eae2f2604943/lib/resty/openssl/auxiliary/jwk.lua#L248 This parameter should be removed / not be set if `is_priv` is false.
local cipher = require("resty.openssl.cipher") local key = "12345678901234567890123456789012" -- 32 bytes local iv = "1234567890123456" -- 16 bytes local function init_encryption() local aes = cipher.new('aes256') aes:init(key, iv, { is_encrypt =...
EVP_PKEY_OP_TYPE_CRYPT is not used in openssl3.x but I dont know how to fix it error info is `lua entry thread aborted: runtime error: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua:218: attempt to perform arithmetic on field...
D:\Microsoft Visual Studio\2022\Enterprise>luarocks install lua-resty-openssl --lua-version=5.1 Installing https://luarocks.org/lua-resty-openssl-1.6.1-1.src.rock Error: Failed unpacking rock file: C:\Users\ADMINI~1\AppData\Local\Temp\luarocks_luarocks-rock-lua-resty-openssl-1.6.1-1-8820508\lua-resty-openssl-1.6.1-1.src.rock: C:\Users\ADMINI~1\AppData\Local\Temp\luarocks_lua-resty-openssl-1.6.1-1-3224998\lua-resty-openssl\t\openssl\aux is not a directory