Skip to content

Commit

Permalink
Prohibit using old keys for sending
Browse files Browse the repository at this point in the history
In this context, "newer" was confusing as the code permits the creation
of the next set of packet protection keys when switching over.  As the
goal of the text was to ensure that old keys not be used, using that
formulation avoids any confusion that might be caused from not having a
reference against which to decide which is "newer".

Closes #4199.
  • Loading branch information
martinthomson committed Oct 14, 2020
1 parent 6ed1fcc commit 52c5f4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions draft-ietf-quic-tls.md
Expand Up @@ -1557,9 +1557,8 @@ 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. 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

0 comments on commit 52c5f4f

Please sign in to comment.