You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is reported initially at rails/rails#48483 and here is Ruby script to reproduce this error.
The original issue has two exceptions. EVP_DigestSignInit: unsupported (OpenSSL::HMACError) and Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)
These errors looks started since Ruby 3.1 and 3.2 base image changed from "bullseye" to "bookworm" and these errors have been workarounds by using Debian "bullseye" based Docker image at Rails CI. rails/buildkite-config#47
The legacy provider. This is a collection of legacy algorithms that are either no longer in common use or strongly discouraged from use. However some applications may need to use these algorithms for backwards compatibility reasons. This provider is NOT loaded by default. This may mean that some applications upgrading from earlier versions of OpenSSL may find that some algorithms are no longer available unless they load the legacy provider explicitly. Algorithms in the legacy provider include MD2, MD4, MDC2, RMD160, CAST5, BF (Blowfish), IDEA, SEED, RC2, RC4, RC5 and DES (but not 3DES).
Yes - the implementation of MD4 belongs to the legacy provider in OpenSSL >= 3.0 which is not enabled by default. #635 will add a method to load OpenSSL providers, or you can currently do it through an OpenSSL configuration file.
This issue is reported initially at rails/rails#48483 and here is Ruby script to reproduce this error.
The original issue has two exceptions.
EVP_DigestSignInit: unsupported (OpenSSL::HMACError)
andDigest initialization failed: initialization error (OpenSSL::Digest::DigestError)
EVP_DigestSignInit: unsupported (OpenSSL::HMACError)
Steps to reproduce
Expected behavior
It should run as Ruby 3.0.5 does.
Actual behavior
It gets "EVP_DigestSignInit: unsupported (OpenSSL::HMACError)" with Ruby 3.2.2.
Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)
Steps to reproduce
Expected behavior
It should run as Ruby 3.0.5 does.
Actual behavior
The text was updated successfully, but these errors were encountered: