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
Mihai Parparita 4973956419 ipn/ipnlocal: add /reset-auth LocalAPI endpoint
The iOS has a command to reset the persisted state of the app, but it
was doing its own direct keychain manipulation. This proved to be
brittle (since we changed how preferences are stored with #6022), so
we instead add a LocalAPI endpoint to do do this, which can be updated
in tandem.

This clears the same state as the iOS implementation (tailscale/corp#3186),
that is the machine key and preferences (which includes the node key).
Notably this does not clear the logtail ID, so that logs from the device
still end up in the same place.

Updates tailscale/corp#8923

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
1 year ago
..
c2n.go all: update copyright and license headers 1 year ago
cert.go all: update copyright and license headers 1 year ago
cert_js.go all: update copyright and license headers 1 year ago
cert_test.go all: update copyright and license headers 1 year ago
dnsconfig_test.go all: update copyright and license headers 1 year ago
expiry.go all: update copyright and license headers 1 year ago
expiry_test.go all: update copyright and license headers 1 year ago
local.go ipn/ipnlocal: add /reset-auth LocalAPI endpoint 1 year ago
local_test.go all: update copyright and license headers 1 year ago
loglines_test.go all: update copyright and license headers 1 year ago
network-lock.go all: update copyright and license headers 1 year ago
network-lock_test.go all: update copyright and license headers 1 year ago
peerapi.go all: update copyright and license headers 1 year ago
peerapi_h2c.go all: update copyright and license headers 1 year ago
peerapi_macios_ext.go all: update copyright and license headers 1 year ago
peerapi_test.go all: update copyright and license headers 1 year ago
profiles.go ipn/ipnlocal: add /reset-auth LocalAPI endpoint 1 year ago
profiles_test.go all: update copyright and license headers 1 year ago
serve.go all: update copyright and license headers 1 year ago
serve_test.go all: update copyright and license headers 1 year ago
ssh.go all: update copyright and license headers 1 year ago
ssh_stub.go all: update copyright and license headers 1 year ago
ssh_test.go all: update copyright and license headers 1 year ago
state_test.go all: update copyright and license headers 1 year ago