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

Prohibit using old keys for sending #4224

Merged
merged 2 commits into from
Oct 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions draft-ietf-quic-tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1557,9 +1557,9 @@ keys in addition to these might improve performance, but this is not essential.

## Sending with Updated Keys {#old-keys-send}

An endpoint always sends packets that are protected with the newest keys. Keys
used for packet protection can be discarded immediately after switching to newer
keys.
An endpoint never sends packets that are protected with old keys. Only the
current keys are used. Keys used for protecting packets can be discarded
immediately after switching to newer keys.

Packets with higher packet numbers MUST be protected with either the same or
newer packet protection keys than packets with lower packet numbers. An
Expand Down