You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Maisem Ali 235309adc4 all: store NL keys per profile
This moves the NetworkLock key from a dedicated StateKey to be part of the persist.Persist struct.
This struct is stored as part for ipn.Prefs and is also the place where we store the NodeKey.

It also moves the ChonkDir from "/tka" to "/tka-profile/<profile-id>". The rename was intentional
to be able to delete the "/tka" dir if it exists.

This means that we will have a unique key per profile, and a unique directory per profile.

Note: `tailscale logout` will delete the entire profile, including any keys. It currently does not
delete the ChonkDir.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years ago
bugreport.go cmd/tailscale, ipn: enable debug logs when --report flag is passed to bugreport (#5830) 2 years ago
cert.go cmd/tailscale/cli: start making cert output support pkcs12 (p12) output 2 years ago
cli.go cmd/tailscale/cli: continue fleshing out serve CLI tests 2 years ago
cli_test.go cmd/tailscale,ipn: support disablement args in lock cli, implement disable 2 years ago
configure-host.go all: fix resource leaks with missing .Close() calls 2 years ago
debug.go cmd/tailscale/cli: add debug 2021 --verbose flag 2 years ago
diag.go all: remove old +build tags 2 years ago
diag_other.go all: remove old +build tags 2 years ago
down.go cmd/tailscale/cli: [up] move lose-ssh check after other validations 2 years ago
file.go all: convert more code to use net/netip directly 2 years ago
id-token.go cmd/tailscale/cli: use printf and outln consistently 2 years ago
ip.go all: use various net/netip parse funcs directly 2 years ago
licenses.go cmd/tailscale: add licenses link to web UI 2 years ago
logout.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
nc.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
netcheck.go net/netcheck: add check for captive portal (#5593) 2 years ago
network-lock.go all: store NL keys per profile 2 years ago
ping.go all: use various net/netip parse funcs directly 2 years ago
risks.go cmd/tailscale/cli: [up] move lose-ssh check after other validations 2 years ago
serve.go cmd/tailscale/cli: update serve debug set command after FUS profile change 2 years ago
serve_test.go cmd/tailscale/cli: continue fleshing out serve CLI tests 2 years ago
set.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
set_test.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
ssh.go cmd/tailscale/cli: flesh out "tailscale ssh" CLI docs 2 years ago
ssh_exec.go all: remove old +build tags 2 years ago
ssh_exec_js.go use C:\Windows\System32\OpenSSH\ssh.exe (#4933) 2 years ago
ssh_exec_windows.go all: fix spelling mistakes 2 years ago
ssh_unix.go all: remove old +build tags 2 years ago
status.go cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2 years ago
up.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
version.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
web.css cli: web advertise exit node button 3 years ago
web.go cmd/tailscale: access QNAP via localhost 2 years ago
web.html cmd/tailscale: add licenses link to web UI 2 years ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago