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

clarify nonce usage #245

Merged
merged 3 commits into from
Jul 5, 2023
Merged

clarify nonce usage #245

merged 3 commits into from
Jul 5, 2023

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Jul 4, 2023

Specifically,

  • forbid use of cipher suites with nonce below 12 bytes
  • nonce calculation uses lower 32 bites of CID sequence number
  • one packet protection key must not cover more than 2^32 CID sequence numbers

Closes #213. Closes #244.

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

It's a bit unfortunate that we have to say anything about cipher suites in this document. It would be nice if we could just use whatever RFC 9001 defines.

Note that if we decide to introduce path IDs (#214), this would allow us to derive separate keys per path, leaving the nonce usage untouched (compared to RFC 9001). This is tracked by #215.

@mirjak mirjak merged commit 91ff6fd into quicwg:main Jul 5, 2023
2 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
6 participants