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/types
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
..
dnstype net/dns, types/dnstypes: update some comments, tests for DoH 2 years ago
empty types/empty: add Message, stop using mysterious *struct{} 4 years ago
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 4 years ago
ipproto net/packet, wgengine/filter: support SCTP 3 years ago
key all: store NL keys per profile 2 years ago
logger all: remove old +build tags 2 years ago
netlogtype types/netlogtype: add constants for maximum serialized sizes of ConnectionCounts (#6163) 2 years ago
netmap cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2 years ago
nettype net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
opt all: fix spelling mistakes 2 years ago
persist all: store NL keys per profile 2 years ago
preftype types/preftype: don't use iota for consts persisted to disk 3 years ago
structs types/structs: add structs.Incomparable annotation, use it where applicable 4 years ago
tkatype client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
views ipn/prefs: add views 2 years ago