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
Spurious dependency on RSA in ssl-opt.sh #8366
Labels
Comments
3 tasks
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Apr 26, 2024
Tighten the matching when detecting which certificates are in use to determine algorithm requirements. This fixes a bug whereby all tests were skipped in configurations without RSA except for an Mbed TLS client against a GnuTLS or OpenSSL server, due to *server2* matching ssl_server2. Fixes Mbed-TLS#8366. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
4 tasks
Ouch. Sorry for missing that in review, and thanks for noticing. |
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
May 14, 2024
Tighten the matching when detecting which certificates are in use to determine algorithm requirements. This fixes a bug whereby all tests were skipped in configurations without RSA except for an Mbed TLS client against a GnuTLS or OpenSSL server, due to *server2* matching ssl_server2. Fixes Mbed-TLS#8366. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
ssl-opt.sh
, we try to automatically infer dependencies of test cases involving certificates, including this code snippet:But
server2
matchesssl_server2
! So we're skipping a lot of test cases in builds without RSA.We should change the patterns to something like
*/server2[-._]*
and so on.The text was updated successfully, but these errors were encountered: