openssl icon indicating copy to clipboard operation
openssl copied to clipboard

Use SHA256 instead of SHA1 where needed in tests.

Open jackorp opened this issue 2 years ago • 1 comments

Systems such as RHEL 9 are moving away from SHA1 disabling it completely in default configuration.

This is a follow-up PR after https://github.com/ruby/openssl/pull/507. This PR has the goal of fixing the rest of the test failures [0] present on systems that disable SHA1, like RHEL 9 and Centos 9 stream, by default via a system-wide crypto policy.

Tests pass locally with these changes.

[0] https://gist.github.com/jackorp/bb6e3ff2cfd339f2f65afcdc5c9e4070

This supersedes https://github.com/ruby/openssl/pull/511

jackorp avatar Oct 18 '22 16:10 jackorp

I decided to redo the change completely instead of trying to fix I had done in #511 .

jackorp avatar Oct 18 '22 16:10 jackorp

Thank you!

rhenium avatar Nov 23 '22 06:11 rhenium