You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pre-decrypt detection (key_phase != next_in_key_phase &&
key_update_initiator) causes false positives on the initiator side:
after flipping next_in_key_phase, any old-phase packet still in flight
from peer will trigger KEY_UPDATE_ERROR. This breaks "key update" and
"key update 0RTT" integration tests.
RFC 9001 §6.2 consecutive detection is MAY (not MUST) and is a
responder-side concern. Pre-decrypt checks cannot distinguish
legitimate old packets from actual violations—only post-decrypt §6.4
detection (pkt_num > first_recv_pktno during retention window) can
reliably do so, and that check remains.
Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
0 commit comments