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

Create CNSA 2.0 TLS Policies #5152

Open
alexw91 opened this issue Feb 27, 2025 · 0 comments
Open

Create CNSA 2.0 TLS Policies #5152

alexw91 opened this issue Feb 27, 2025 · 0 comments

Comments

@alexw91
Copy link
Contributor

alexw91 commented Feb 27, 2025

Problem:

s2n currently has a TLS Security Policy for "rfc9151" that follows the CNSA 1.0 TLS guidance.

There is a new draft RFC for CNSA 2.0 guidance here:
https://datatracker.ietf.org/doc/draft-becker-cnsa2-tls-profile/

Solution:

s2n-tls should create a few new Security Policies:

  • CNSA_1.0: This policy should be an alias to the existing rfc9151 TLS Security policy
  • CNSA_1.0-2.0: This policy should be a combination of CNSA 1.0 and 2.0 guidance, with 2.0 guidance being preferred over 1.0. This will allow clients time to migrate from 1.0 to 2.0.
  • CNSA_2.0: This policy should follow the CNSA 2.0 guidance exactly.

The specific naming of these policies is still to be decided. Alternatively these policies might be named cnsa-1, cnsa-2, cnsa-2-strict.

Requirements / Acceptance Criteria:

What must a solution address in order to solve the problem? How do we know the solution is complete?

  • RFC links:
  • Related Issues: Link any relevant issues
  • Will the Usage Guide or other documentation need to be updated?
  • Testing: How will this change be tested? Call out new integration tests, functional tests, or particularly interesting/important unit tests.
    • Will this change trigger SAW changes? Changes to the state machine, the s2n_handshake_io code that controls state transitions, the DRBG, or the corking/uncorking logic could trigger SAW failures.
    • Should this change be fuzz tested? Will it handle untrusted input? Create a separate issue to track the fuzzing work.

Out of scope:

Is there anything the solution will intentionally NOT address?

@alexw91 alexw91 changed the title Create CNSA 1.0 and 2.0 Create CNSA 2.0 TLS Policies Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant