Files
tailscale/control/controlbase
Brad Fitzpatrick 223a8d5291 controlbase: add hybrid ML-KEM ts2021 handshake
Teach controlbase to switch to a hybrid X25519 plus ML-KEM-768
handshake for ts2021 protocol versions 142 and newer. The legacy
Noise IK wire format remains available for older protocol versions, while
newer clients must send the expanded PQ initiation and response frames.

The ML-KEM public key and ciphertext are transcript-bound, and both
sides mix the resulting ML-KEM shared secret into the Noise chaining key
before deriving transport keys. Add tests for legacy and PQ handshakes,
wire-format selection, mismatch rejection, and tampering of PQ fields.

Updates #14370

Change-Id: I6877d9fa71d01782a2034777ae720020fe52b168
2026-06-10 00:27:45 +00:00
..