tailscale/ipn/ipnlocal
Brad Fitzpatrick 1469105ab9 ipn{,/localapi,ipnlocal}: infer cert dir from state file location
This fixes "tailscale cert" on Synology where the var directory is
typically like /volume2/@appdata/Tailscale, or any other tailscaled
user who specifies a non-standard state file location.

This is a interim fix on the way to #2932.

Fixes #2927
Updates #2932

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-09-29 20:45:28 -07:00
..
local_test.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
local.go ipn{,/localapi,ipnlocal}: infer cert dir from state file location 2021-09-29 20:45:28 -07:00
loglines_test.go types/logger: add key grinder stats lines to rate-limiting exemption list 2021-05-05 08:25:15 -07:00
peerapi_macios_ext.go all: simplify ts_macext build tags 2021-08-17 11:13:03 -07:00
peerapi_test.go ipn/ipnlocal: use delete marker files to work around Windows delete problems 2021-04-26 10:59:25 -07:00
peerapi.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
state_test.go ipn/ipnlocal: make state_test catch the bug fixed by #2445 2021-07-17 08:41:39 -07:00