boulder/linter/lints/cabf_br/testdata
Phil Porada 5c98bf6724
ceremony: Add support for CRL onlyContainsCACerts (#7064)
* Allows the ceremony tool to add the `onlyContainsCACerts` flag to the
`IssuingDistributionPoint` extension[1] for CRLs.
* Add a lint to detect basic usage of this new flag.
* Add a helper function which doesn't (yet) exist in golang
x/crypto/cryptobyte named `ReadOptionalASN1BooleanWithTag` which
searches for an optional DER-encoded ASN.1 element tagged with a given
tag e.g. onlyContainsUserCerts and reports values back to the caller.
* Each revoked certificate in the CRL config is checked for is `IsCA` to
maintain conformance with RFC 5280 Section 6.3.3 b.2.iii [2].
    >  (iii) If the onlyContainsCACerts boolean is asserted in the
    >        IDP CRL extension, verify that the certificate
    >        includes the basic constraints extension with the cA
    >        boolean asserted.

Fixes https://github.com/letsencrypt/boulder/issues/7047

1. https://datatracker.ietf.org/doc/html/rfc5280#section-5.2.5
2. https://datatracker.ietf.org/doc/html/rfc5280#section-6.3.3
2023-10-02 17:03:36 -07:00
..
crl_critical_reason.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_good.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_good_subordinate_ca.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_idp_distributionPoint_and_onlyUser_and_onlyCA.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_long_validity.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_long_validity_distributionPoint_and_subordinate_ca.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_long_validity_subordinate_ca.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_long_validity_subscriber_cert.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_negative_validity.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_negative_validity_subordinate_ca.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_negative_validity_subscriber_cert.pem ceremony: Add support for CRL onlyContainsCACerts (#7064) 2023-10-02 17:03:36 -07:00
crl_reason_0.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_1.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_2.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_3.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_4.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_5.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_6.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_8.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_9.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl_reason_10.pem Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00