tailscale/control/controlclient
Adrian Dewhurst 3f456ba2e7 control/controlclient: return correct certificate
When searching for the matching client identity, the returned
certificate chain was accidentally set to that of the last identity
returned by the certificate store instead of the one corresponding to
the selected identity.

Also, add some extra error checking for invalid certificate chains, just
in case.

Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
2021-04-07 09:42:13 -04:00
..
auto.go control/controlclient: document a few things 2021-03-31 08:26:05 -07:00
controlclient_test.go cover one more case in TestStatusEqual. 2021-01-08 10:23:32 -08:00
debug_test.go tailcfg, control/controlclient: add goroutine dump debug feature 2021-03-03 10:56:01 -08:00
debug.go tailcfg, control/controlclient: add goroutine dump debug feature 2021-03-03 10:56:01 -08:00
direct_test.go control/controlclient: support lazy machine key generation 2021-03-31 08:52:57 -07:00
direct.go cmd/tailscale, ipn/localapi: move IP forwarding check to tailscaled, API 2021-03-31 12:09:16 -07:00
filter.go wgengine/filter: remove the Matches type. 2020-11-09 21:39:25 -08:00
hostinfo_linux.go hostifo: update LXC, add Cloud Run. 2021-04-06 17:21:16 -07:00
hostinfo_windows.go control/controlclient: cache Windows version 2021-03-15 21:40:32 -07:00
sign_supported.go control/controlclient: return correct certificate 2021-04-07 09:42:13 -04:00
sign_unsupported.go control/controlclient: sign RegisterRequest (#1549) 2021-03-26 10:01:08 -04:00
sign.go control/controlclient: sign RegisterRequest (#1549) 2021-03-26 10:01:08 -04:00