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/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>
3 years ago
..
auto.go control/controlclient: stop logging about goal.url invariant 3 years ago
client.go ipn/ipnlocal, control/controlclient: don't propagate all map errors to UI 3 years ago
controlclient_test.go hostinfo: add SetDeviceModel setter, move remaining code from controlclient 3 years ago
debug.go control/controlclient: grow goroutine debug buffer as needed 3 years ago
debug_test.go control/controlclient: don't use regexp in goroutine stack scrubbing 3 years ago
direct.go control/controlclient: turn off Go's implicit compression 3 years ago
direct_test.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
map.go envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
map_test.go control/controlclient: stop using wgkey. 3 years ago
sign.go control/controlclient: update machine certificate signature version 3 years ago
sign_supported.go control/controlclient: select newer certificate 3 years ago
sign_supported_test.go control/controlclient: select newer certificate 3 years ago
sign_unsupported.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
status.go control/controlclient,tailcfg: propagate registration errors to the frontend 3 years ago