boulder/cmd
Aaron Gable b090ffbd2e
Use zlint to check our CRLs (#6972)
Update zlint to v3.5.0, which introduces scaffolding for running lints
over CRLs.

Convert all of our existing CRL checks to structs which match the zlint
interface, and add them to the registry. Then change our linter's
CheckCRL function, and crl-checker's Validate function, to run all lints
in the zlint registry.

Finally, update the ceremony tool to run these lints as well.

This change touches a lot of files, but involves almost no logic
changes. It's all just infrastructure, changing the way our lints and
their tests are shaped, and moving test files into new homes.

Fixes https://github.com/letsencrypt/boulder/issues/6934
Fixes https://github.com/letsencrypt/boulder/issues/6979
2023-07-11 15:39:05 -07:00
..
admin-revoker cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
akamai-purger cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
bad-key-revoker sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
boulder cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-ca cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-observer config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
boulder-publisher cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-ra cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-sa cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-va cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
boulder-wfe2 cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
caa-log-checker config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
ceremony Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
cert-checker sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
contact-auditor sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
crl-checker Use zlint to check our CRLs (#6972) 2023-07-11 15:39:05 -07:00
crl-storer cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
crl-updater cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
expiration-mailer cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
id-exporter sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
log-validator Introduce OpenTelemetry Tracing (#6750) 2023-04-21 10:46:59 -07:00
nonce-service cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
notify-mailer cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
ocsp-responder cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
orphan-finder Store linting certificate instead of precertificate (#6807) 2023-04-26 13:54:24 -07:00
reversed-hostname-checker config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
rocsp-tool Remove last math/rand.Seed() call (#6948) 2023-06-20 14:56:03 -07:00
testdata config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
clock_generic.go Update golangci-lint from v1.29.0 to v1.42.1 (#5745) 2021-10-22 16:26:59 -07:00
clock_integration.go Update golangci-lint from v1.29.0 to v1.42.1 (#5745) 2021-10-22 16:26:59 -07:00
config.go grpc/sa: Implement deep health checks (#6928) 2023-06-12 13:58:53 -04:00
config_test.go cmd: TLSConfig values should be string not *string (#6872) 2023-05-08 13:21:42 -04:00
registry.go main: Validate config files by default (#6885) 2023-05-15 14:16:04 -04:00
shell.go cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00
shell_test.go cmd: fail without panic (#6935) 2023-06-20 12:29:02 -07:00