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
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/{cloner,viewer}: add support for map values with pointers 2 years ago
containerboot cmd/containerboot: make a tests table, add more tests. 2 years ago
derper cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
derpprobe net/stun: convert to use net/netip.AddrPort 2 years ago
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 2 years ago
hello refactor: move from io/ioutil to io and os packages 2 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 3 years ago
netlogfmt cmd/netlogfmt: handle any stream of network logs (#6108) 2 years ago
nginx-auth cmd/nginx-auth: add experimental status badge to README 2 years ago
pgproxy cmd/pgproxy: link to blog post at the top. 2 years ago
printdep Docker: add ALPINE.txt to manage alpine versions 2 years ago
proxy-to-grafana all: gofmt for Go 1.19 2 years ago
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2 years ago
ssh-auth-none-demo ssh/tailssh: add password-forcing workaround for buggy SSH clients 2 years ago
tailscale all: store NL keys per profile 2 years ago
tailscaled net/dns: make "direct" mode on Linux warn on resolv.conf fights 2 years ago
testcontrol all: use any instead of interface{} 3 years ago
tsconnect ipn/ipnlocal: add support for multiple user profiles 2 years ago
tsshd all: remove old +build tags 2 years ago
viewer all: fix spelling mistakes 2 years ago