Files
tailscale/shell.nix
T
Nick Khyl 6766fee259 various: mark hybrid-pq sessions in tailscale status
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)
2026-12-03 18:08:04 -08:00

20 lines
788 B
Nix

# This is a shell.nix file used to describe the environment that
# tailscale needs for development.
#
# For more information about this and why this file is useful, see here:
# https://nixos.org/guides/nix-pills/developing-with-nix-shell.html
#
# Also look into direnv: https://direnv.net/, this can make it so that you can
# automatically get your environment set up when you change folders into the
# project.
(import (
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash; }
) {
src = ./.;
}).shellNix
# nix-direnv cache busting line: sha256-NCb6McDN52eo4QAeLyMTg7U7pNPeX91yy85LGv9sNJA=