mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -08:00
upki (github.com/rustls/upki, shipping in Ubuntu 26.10+) keeps a local CRLite revocation cache that "upki fetch" refreshes on a timer. Add an omittable "upki" feature that, after tlsdial's x509 verification succeeds, checks the leaf against that cache if one is present and rejects it if revoked. Missing caches, uncovered certs, and cache read errors all fail open. The cache is read with github.com/cpu/go-upki, the prototype for the built-in crypto/tls support proposed in golang/go#82402. That built-in check wouldn't cover us even once it ships, because crypto/tls skips it when InsecureSkipVerify is set, and tlsdial always sets that so it can do its own verification in VerifyConnection. Updates #22680 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: Idfa75794cbba9c90039355ffaeb21b5d5824a5fe
11 lines
300 B
JSON
11 lines
300 B
JSON
{
|
|
"toolchain": {
|
|
"rev": "ee691292343f9e120054d09de48b27f42af2af6c",
|
|
"sri": "sha256-Qmy06FkeFkjqCo1FLSD9dO7hTvdo/gC2VACJniuiQBU="
|
|
},
|
|
"vendor": {
|
|
"goModSum": "sha256-v8gQjz+FrrPgj56rsF/MNBZ8omppcGcPyA4gDRhzph0=",
|
|
"sri": "sha256-EUjRAWRCI6FfXRis4AyX4+9EPDrWPpVk6eYQKAwJ+H8="
|
|
}
|
|
}
|