tailscale/control/controlclient
Adrian Dewhurst adda2d2a51 control/controlclient: select newer certificate
If multiple certificates match when selecting a certificate, use the one
issued the most recently (as determined by the NotBefore timestamp).
This also adds some tests for the function that performs that
comparison.

Updates tailscale/coral#6

Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
2022-02-11 23:00:22 -05:00
..
auto.go control/controlclient: stop logging about goal.url invariant 2021-11-29 14:00:53 -08:00
client.go ipn/ipnlocal, control/controlclient: don't propagate all map errors to UI 2021-11-03 17:56:54 -07:00
controlclient_test.go hostinfo: add SetDeviceModel setter, move remaining code from controlclient 2021-08-20 10:45:22 -07:00
debug.go control/controlclient: grow goroutine debug buffer as needed 2021-07-22 13:18:05 -07:00
debug_test.go control/controlclient: don't use regexp in goroutine stack scrubbing 2021-07-22 13:18:05 -07:00
direct.go control/controlclient: turn off Go's implicit compression 2022-02-07 13:55:42 -08:00
direct_test.go types/key: add a special key with custom serialization for control private keys (#2792) 2021-09-03 13:17:46 -07:00
map.go envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2022-01-24 11:51:23 -08:00
map_test.go control/controlclient: stop using wgkey. 2021-10-28 14:22:51 -07:00
sign.go control/controlclient: update machine certificate signature version 2021-09-17 17:43:06 -04:00
sign_supported.go control/controlclient: select newer certificate 2022-02-11 23:00:22 -05:00
sign_supported_test.go control/controlclient: select newer certificate 2022-02-11 23:00:22 -05:00
sign_unsupported.go types/key: add a special key with custom serialization for control private keys (#2792) 2021-09-03 13:17:46 -07:00
status.go control/controlclient,tailcfg: propagate registration errors to the frontend 2021-10-27 06:57:26 -07:00