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/control/controlclient
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
..
auto.go control/controlclient: make Status.Persist a PersistView 2 years ago
client.go cmd,ipn/ipnlocal,tailcfg: implement TKA disablement 2 years ago
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 3 years ago
debug.go ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2 years ago
direct.go all: store NL keys per profile 2 years ago
direct_test.go all: convert more code to use net/netip directly 2 years ago
map.go wgengine/wgcfg: plumb down audit log IDs (#5855) 2 years ago
map_test.go all: fix spelling mistakes 2 years ago
noise.go control/controlclient: export NoiseClient 2 years ago
noise_test.go control/controlclient: export NoiseClient 2 years ago
sign.go control/controlclient: update machine certificate signature version 3 years ago
sign_supported.go all: remove old +build tags 2 years ago
sign_supported_test.go all: remove old +build tags 2 years ago
sign_unsupported.go all: remove old +build tags 2 years ago
status.go control/controlclient: make Status.Persist a PersistView 2 years ago