mirror of https://github.com/golang/go.git
Implement support for parsing the various policy related extensions, and for validating the policy graph for chains. Policy validation is only run if VerifyOptions.CertificatePolicies is set. Policy validation is run after chains are built. If the computed policy graph for a chain is invalid, the chain is removed from the set of returned chains. This implements the RFC 5280 algorithm as updated by RFC 9618 [0]. Fixes #68484 [0] https://www.rfc-editor.org/rfc/rfc9618.html Change-Id: I576432a47ddc404cba966c2b1995365944b8bd26 Reviewed-on: https://go-review.googlesource.com/c/go/+/628616 Auto-Submit: Roland Shoemaker <roland@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
|---|---|---|
| .. | ||
| 32936.txt | ||
| 36532.txt | ||
| 51473.txt | ||
| 54670.txt | ||
| 61477.txt | ||
| 61515.txt | ||
| 61901.txt | ||
| 62005.txt | ||
| 62384.txt | ||
| 62516.txt | ||
| 63952.txt | ||
| 66450.txt | ||
| 66626.txt | ||
| 67002.txt | ||
| 67057.txt | ||
| 67535.txt | ||
| 67552.txt | ||
| 67813.txt | ||
| 67814.txt | ||
| 67816.txt | ||
| 68484.txt | ||
| 68500.txt | ||
| 69488.txt | ||
| 69981.txt | ||