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

Add s2n_signature_preferences_20240521 #4565

Merged
merged 5 commits into from
Aug 14, 2024
Merged

Conversation

raycoll
Copy link
Contributor

@raycoll raycoll commented May 21, 2024

This preference list is to allow ECDSA sigalgs to be prioritized for policies that need legacy sigalg(SHA1) support.

This change is needed because TLS1.3 is reliant on the sigalg preferences to drive server certificate preference selection.

Call-outs:

The list used in this change will be added to security_policy later.

@raycoll raycoll requested a review from lrstewart May 21, 2024 20:23
tls/s2n_signature_scheme.c Outdated Show resolved Hide resolved
@lrstewart lrstewart requested a review from jmayclin May 21, 2024 23:45
&s2n_rsa_pkcs1_sha256,
&s2n_rsa_pkcs1_sha384,
&s2n_rsa_pkcs1_sha512,
&s2n_rsa_pkcs1_sha224,
Copy link
Contributor

Choose a reason for hiding this comment

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

Just want to confirm that leaving RSA+224 in is intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

waffled on this, decided to keep it since the likelihood of usage is ~slightly higher than ECDSA+SHA224.

This preference list is to allow ECDSA sigalgs to be prioritized for
policies that need legacy sigalg(SHA1) support.

This change is needed because TLS1.3 is reliant on the sigalg
preferences to drive server certificate preference selection.
@raycoll
Copy link
Contributor Author

raycoll commented Aug 1, 2024

I think this is ready, unless someone sees a blocker.

@jmayclin jmayclin enabled auto-merge (squash) August 1, 2024 19:20
@jmayclin jmayclin merged commit 2c8ae53 into aws:main Aug 14, 2024
35 checks passed
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 this pull request may close these issues.

4 participants