mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-01 22:15:51 +00:00
235309adc4
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> |
||
---|---|---|
.. | ||
chal.go | ||
control_test.go | ||
control.go | ||
disco_test.go | ||
disco.go | ||
machine_test.go | ||
machine.go | ||
nl_test.go | ||
nl.go | ||
node_test.go | ||
node.go | ||
util_test.go | ||
util.go |