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

Backport 2.28: ssl-opt.sh: Fix getting the list of supported ciphersuites. #8570

Conversation

yuhaoth
Copy link
Contributor

@yuhaoth yuhaoth commented Nov 28, 2023

PR checklist

Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")

@yuhaoth yuhaoth mentioned this pull request Nov 28, 2023
3 tasks
@yuhaoth yuhaoth added bug needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review component-test Test framework and CI scripts priority-medium Medium priority - this can be reviewed as time permits size-xs Estimated task size: extra small (a few hours at most) labels Nov 28, 2023
@gilles-peskine-arm gilles-peskine-arm changed the title fix ciphersuite list wrong for mbedtls 2.28 Backport 2.28: ssl-opt.sh: Fix getting the list of supported ciphersuites. Nov 28, 2023
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please backport 60f7666

@gilles-peskine-arm gilles-peskine-arm added needs-work priority-very-high Highest priority - prioritise this over other review work and removed priority-medium Medium priority - this can be reviewed as time permits labels Nov 28, 2023
Fix some dependencies on symmetric crypto that
were not correct in case of driver but not
builtin support. Revealed by "Analyze driver
test_psa_crypto_config_accel_cipher_aead vs reference
test_psa_crypto_config_reference_cipher_aead" in
analyze_outcomes.py.

Signed-off-by: Ronald Cron <[email protected]>
Same test cases as in the previous commit.
Remove the redundant symmetric crypto dependency.
The dependency is ensured by the fact that:
1) the test case forces a cipher suite
2) ssl-opt.sh enforces automatically that the
   forced ciphersuite is available.
3) The fact that the forced ciphersuite is
   available implies that the symmetric
   cipher algorithm it uses is available as
   well.

Signed-off-by: Ronald Cron <[email protected]>
@yuhaoth yuhaoth force-pushed the pr/fix-ciphersuite-list-wrong-for-mbedtls-2.28 branch from 20404b4 to ba77a66 Compare November 29, 2023 02:19
@yuhaoth
Copy link
Contributor Author

yuhaoth commented Nov 29, 2023

I directly rebased #8561

Copy link
Contributor

@lpy4105 lpy4105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backport LGTM.

@yuhaoth yuhaoth removed the needs-reviewer This PR needs someone to pick it up for review label Nov 29, 2023
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gilles-peskine-arm gilles-peskine-arm added approved Design and code approved - may be waiting for CI or backports and removed needs-review Every commit must be reviewed by at least two team members, labels Nov 29, 2023
@gilles-peskine-arm gilles-peskine-arm added this pull request to the merge queue Nov 29, 2023
Merged via the queue into Mbed-TLS:mbedtls-2.28 with commit 7655fd2 Nov 29, 2023
6 checks passed
@yuhaoth yuhaoth deleted the pr/fix-ciphersuite-list-wrong-for-mbedtls-2.28 branch December 5, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Design and code approved - may be waiting for CI or backports bug component-test Test framework and CI scripts priority-very-high Highest priority - prioritise this over other review work size-xs Estimated task size: extra small (a few hours at most)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants