mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 23:22:23 -08:00
Report in ipn.PeerState and ipnstate.PeerStatus whether the current
WireGuard session with a peer was established with a hybrid
post-quantum handshake, and print "hybrid-pq" for such peers
in tailscale status --verbose.
The value comes from wireguard-go's PeerSessionStateFunc,
which now carries it along with the session state.
Updates #22853
Updates tailscale/corp#50068
Updates tailscale/corp#52622
Change-Id: I18af864415ad3c189d56dbf569cf5df74352e776
Signed-off-by: Nick Khyl <[email protected]>
(cherry picked from commit c069cc6561)