cmd/tailscale/cli: support passing network lock keys via files

Fixes tailscale/corp#22356

Change-Id: I959efae716a22bcf582c20d261fb1b57bacf6dd9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2024-08-14 08:34:53 -07:00
committed by Brad Fitzpatrick
parent 2506bf5b06
commit 4c2e978f1e
6 changed files with 32 additions and 8 deletions

View File

@@ -9,3 +9,7 @@ package tsconst
// interfaces on Windows. This is set by the WinTun driver.
const WintunInterfaceDesc = "Tailscale Tunnel"
const WintunInterfaceDesc0_14 = "Wintun Userspace Tunnel"
// TailnetLockNotTrustedMsg is the error message used by network lock
// and sniffed (via substring) out of an error sent over the network.
const TailnetLockNotTrustedMsg = "this node is not trusted by network lock"