Skip to content

Commit

Permalink
Split first from subsequent again
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Nov 3, 2019
1 parent 289e57d commit a7b0add
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions draft-ietf-quic-tls.md
Expand Up @@ -1272,13 +1272,14 @@ secret_<n+1> = HKDF-Expand-Label(secret_<n>, "quic ku",
The endpoint toggles the value of the Key Phase bit and uses the updated key and
IV to protect all subsequent packets.

An endpoint MUST NOT initiate a key update prior to having received an
acknowledgment for a packet that it sent protected with keys from the current
key phase. This ensures that keys are available to both peers before another
key update can be initiated. This can be implemented by tracking the lowest
packet number sent with each key phase, and the highest acknowledged packet
number in the 1-RTT space: once the latter is higher than or equal to the
former, another key update can be initiated.
An endpoint MUST NOT initiate a key update prior to having confirmed the
handshake ({{handshake-confirmed}}). An endpoint MUST NOT initiate a subsequent
key update prior unless it has received an acknowledgment for a packet that was
sent protected with keys from the current key phase. This ensures that keys are
available to both peers before another key update can be initiated. This can be
implemented by tracking the lowest packet number sent with each key phase, and
the highest acknowledged packet number in the 1-RTT space: once the latter is
higher than or equal to the former, another key update can be initiated.

Note:

Expand Down

0 comments on commit a7b0add

Please sign in to comment.