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

Test failures with OpenSSL 3.2 #9

Open
felixonmars opened this issue Jan 9, 2024 · 2 comments · May be fixed by #8
Open

Test failures with OpenSSL 3.2 #9

felixonmars opened this issue Jan 9, 2024 · 2 comments · May be fixed by #8

Comments

@felixonmars
Copy link

Hello, I am getting the following test failures with OpenSSL 3.2 which doesn't present with the older versions:

Running 1 test suites...
Test suite testsuite: RUNNING...
sanitycheck: [Failed]
ERROR: user error (error:0A00018F:SSL routines::ee key too small)
withConnection: [Failed]
ERROR: user error (error:068000A8:asn1 encoding routines::wrong tag)

         Test Cases  Total
 Passed  0           0
 Failed  2           2
 Total   2           2
Test suite testsuite: FAIL
Test suite logged to: dist/test/openssl-streams-1.2.3.0-testsuite.log
0 of 1 test suites (0 of 1 test cases) passed.
@felixonmars felixonmars changed the title Tetst failures with OpenSSL 3.2 Test failures with OpenSSL 3.2 Jan 9, 2024
@thillux
Copy link

thillux commented Oct 2, 2024

OpenSSL increased the default security level, in recent versions. Therefore the 1024 Bit RSA key in the test fixture is no longer accepted with default OpenSSL settings. See here: https://docs.openssl.org/master/man3/SSL_CTX_set_security_level/#default-callback-behaviour

Level 1 -> Level 2 (new default)

@thillux
Copy link

thillux commented Oct 2, 2024

To fix this, the author probably only needs to regenerate the test key to be e.g. 4096 Bit wide.

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

Successfully merging a pull request may close this issue.

2 participants