-
Notifications
You must be signed in to change notification settings - Fork 788
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
Don't use OpenSSL-3, openssl
gem doesn't support it yet
#2111
Conversation
|
What specific incompatibilities are there? Are they likely to impact most Rubyists? |
Also to react to the title
My understanding is the openssl gem does support libssl 3 well, there are still a few edge cases, mostly unlikely to affect many users. |
I think a simple workaround if you do want to use 1.1 specifically is to use the system openssl and make sure that's 1.1. |
I am using
|
I agreed @eregon 's opinion. Ubuntu 22.04 or other modern Linux distribution only provide OpenSSL 3. We should use OpenSSL and improve it in the future. |
@n1xn Plese file it as new disucussion thread or issue. It's not related openssl. |
@eregon any in the ruby/openssl#369, personally I encountered ruby/openssl#369 (comment). @hsbt this PR doesn't prevent anyone from using system openssl-3 and ruby-build could easily switch to providing openssl-3 when it's ready. |
The error in ruby/openssl#369 (comment) seems pretty clear it's an openssl-related issue. So either an issue in the openssl gem or in libssl. And that's worth fixing anyway because e.g. the latest Linux distributions already use libssl 3. I think to change this we'd need a popular gem that doesn't work with libssl 3 or something like that, and also a PR (title) which doesn't imply libssl3 is not supported because that's not the case. |
@ojab Thanks for bringing this to our attention. Like my teammates, I also don't believe that this edge case is worth a downgrade. If you are bitten by this, just use |
While
openssl
gem could be build with openssl-3, it would work correctly in many cases, see ruby/openssl#369.Use openssl-1.1 instead until compatibility is fixed.