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/ipn/ipnlocal
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
..
c2n.go wgengine/magicsock: make debug-level stuff not logged by default 2 years ago
cert.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2 years ago
cert_js.go ipn/ipnlocal, wgengine/netstack: start handling ports for future serving 2 years ago
cert_test.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2 years ago
dnsconfig_test.go ipn/ipnlocal: use ipn.PrefsView 2 years ago
local.go all: store NL keys per profile 2 years ago
local_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
loglines_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
network-lock.go all: store NL keys per profile 2 years ago
network-lock_test.go all: store NL keys per profile 2 years ago
peerapi.go ipn/ipnlocal: fix error message typo in ingress peerapi handler 2 years ago
peerapi_h2c.go all: remove old +build tags 2 years ago
peerapi_macios_ext.go all: remove old +build tags 2 years ago
peerapi_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
profiles.go all: store NL keys per profile 2 years ago
profiles_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
serve.go ipn/ipnlocal: don't warn about serve listener failing on IPv6-less machines 2 years ago
serve_test.go ipn/ipnlocal: support serving files/directories too 2 years ago
ssh.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2 years ago
ssh_stub.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2 years ago
ssh_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
state_test.go ipn/ipnlocal: do controlclient.Shutdown in a different goroutine 2 years ago