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>
2022-11-15 19:51:52 +00:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/{cloner,viewer}: add support for map values with pointers 2022-08-03 13:02:17 -07:00
containerboot cmd/containerboot: make a tests table, add more tests. 2022-11-10 09:14:27 -08:00
derper cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2022-11-13 08:17:51 +05:00
derpprobe net/stun: convert to use net/netip.AddrPort 2022-08-15 12:46:01 -04:00
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 2022-09-01 13:38:32 -04:00
hello refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
netlogfmt cmd/netlogfmt: handle any stream of network logs (#6108) 2022-10-28 10:40:45 -07:00
nginx-auth cmd/nginx-auth: add experimental status badge to README 2022-10-25 11:03:40 -07:00
pgproxy cmd/pgproxy: link to blog post at the top. 2022-10-04 16:47:12 -07:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2022-09-23 10:46:04 -07:00
ssh-auth-none-demo ssh/tailssh: add password-forcing workaround for buggy SSH clients 2022-10-11 15:03:02 -07:00
tailscale all: store NL keys per profile 2022-11-15 19:51:52 +00:00
tailscaled net/dns: make "direct" mode on Linux warn on resolv.conf fights 2022-11-12 22:19:13 -08:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
tsshd all: remove old +build tags 2022-11-04 07:25:42 -07:00
viewer all: fix spelling mistakes 2022-09-29 13:36:13 -07:00