-
Notifications
You must be signed in to change notification settings - Fork 102
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
archlinux EVP_PKEY_size error #54
Comments
What OpenSSL version used in your system? Seems it doesn't export the method EVP_PKEY_size. |
Hey @spacewander, I am also seeing the same error. We were using the Openssl v1.1.1r with openresty v1.25.3.1 but seems like openssl 1.1.1 is deprecated now. I am trying to bump openssl to v3.2.1, are the new release changes not legacy compatible? Any sample or doc you can share to fix the issue? Thanks. |
According to https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_size.html, EVP_PKEY_size is renamed to EVP_PKEY_get_size. Would you give it a try? |
you should edit rsa.lua in /usr/local/openssl/lualib/resty/rsa.lua
--then you can fix it |
@nogolang |
We can use pcall to check if the method is defined: lua-resty-rsa/lib/resty/rsa.lua Line 151 in d4e22cf
|
ok,i try |
Fixed in #55 |
2024/01/05 11:02:43 [error] 5776#0: *1 lua entry thread aborted: runtime error: /opt/openresty/site/lualib/resty/rsa.lua:388: /opt/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: EVP_PKEY_size
The text was updated successfully, but these errors were encountered: