Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrypt Error use latest version #186

Open
wintergl opened this issue Oct 9, 2024 · 1 comment
Open

Decrypt Error use latest version #186

wintergl opened this issue Oct 9, 2024 · 1 comment

Comments

@wintergl
Copy link

wintergl commented Oct 9, 2024

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 'EVP_PKEY_OP_TYPE_CRYPT' (a nil value) stack traceback: coroutine 0: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua: in function 'EVP_PKEY_CTX_set_rsa_mgf1_md_name' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:170: in function '_pctx_ctrl_str' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:793: in function 'decrypt'

@fffonion
Copy link
Owner

which version of openssl are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants