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

Migrate RSA-decryption test cases #9954

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

gabor-mezei-arm
Copy link
Contributor

Description

There are a few TLS 1.2 test cases where we're currently using an RSA decryption key exchange, but we could indifferently use a signature-based key exchange. Since #9682, we need to migrate those test cases to something else. It can be either ECDHE-ECDSA or ECDHE-RSA or PSK, but ECDHE-ECDSA minimizes the crypto requirements while not switching to PSK which is sometimes peculiar.

Resolves #9753

PR checklist

Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

  • changelog not required because: test related changes
  • development PR not required because: this is
  • TF-PSA-Crypto PR not required
  • framework PR not required
  • 3.6 PR not required because: 4.0 changes
  • 2.28 PR not required because: 4.0 changes
  • tests provided

@gabor-mezei-arm gabor-mezei-arm added component-tls needs-ci Needs to pass CI tests priority-high High priority - will be reviewed soon labels Feb 5, 2025
@gabor-mezei-arm gabor-mezei-arm self-assigned this Feb 5, 2025
Migrate to ECDHE-ECDSA instead of PSK

Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Only RSA cipgersuits are accepted for these tests and there is no ECDHE-RSA
alternative for AES-128-CCM so delete them.

Signed-off-by: Gabor Mezei <[email protected]>
@gabor-mezei-arm gabor-mezei-arm force-pushed the 9753_migrate_RSA_key_exchange_tests branch from f156941 to ecc5d31 Compare February 17, 2025 13:00
@gabor-mezei-arm gabor-mezei-arm added 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 and removed needs-ci Needs to pass CI tests labels Feb 19, 2025
@valeriosetti valeriosetti self-requested a review February 19, 2025 11:31
Copy link
Contributor

@valeriosetti valeriosetti left a comment

Choose a reason for hiding this comment

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

The PR looks good to me.

However I'm not sure this PR should not have some sort of backport to 3.6. The originating issue states that:

This applies to development only. But we may want to backport the new test cases as additional tests in 3.6 for a minor but very cheap coverage improvement.

@ronald-cron-arm ronald-cron-arm removed the needs-reviewer This PR needs someone to pick it up for review label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-tls needs-review Every commit must be reviewed by at least two team members, priority-high High priority - will be reviewed soon
Projects
Development

Successfully merging this pull request may close these issues.

Migrate RSA-decryption test cases to ECDHE-ECDSA or PSK
3 participants