boulder/cmd
Aaron Gable 10e894a172
Create new admin tool (#7276)
Create a new administration tool "bin/admin" as a successor to and
replacement of "admin-revoker".

This new tool supports all the same fundamental capabilities as the old
admin-revoker, including:
- Revoking by serial, by batch of serials, by incident table, and by
private key
- Blocking a key to let bad-key-revoker take care of revocation
- Clearing email addresses from all accounts that use them

Improvements over the old admin-revoker include:
- All commands run in "dry-run" mode by default, to prevent accidental
executions
- All revocation mechanisms allow setting the revocation reason,
skipping blocking the key, indicating that the certificate is malformed,
and controlling the number of parallel workers conducting revocation
- All revocation mechanisms do not parse the cert in question, leaving
that to the RA
- Autogenerated usage information for all subcommands
- A much more modular structure to simplify adding more capabilities in
the future
- Significantly simplified tests with smaller mocks

The new tool has analogues of all of admin-revokers unit tests, and all
integration tests have been updated to use the new tool instead. A
future PR will remove admin-revoker, once we're sure SRE has had time to
update all of their playbooks.

Fixes https://github.com/letsencrypt/boulder/issues/7135
Fixes https://github.com/letsencrypt/boulder/issues/7269
Fixes https://github.com/letsencrypt/boulder/issues/7268
Fixes https://github.com/letsencrypt/boulder/issues/6927
Part of https://github.com/letsencrypt/boulder/issues/6840
2024-02-07 09:35:18 -08:00
..
admin Create new admin tool (#7276) 2024-02-07 09:35:18 -08:00
admin-revoker Create new admin tool (#7276) 2024-02-07 09:35:18 -08:00
akamai-purger akamai-purger: Check the correct pointer for manual mode configuration file (#7177) 2023-12-04 10:58:07 -05:00
bad-key-revoker Add --addr and/or --debug-addr flags to all commands (#7175) 2023-12-07 17:41:01 -08:00
boulder Remove ca-a and ca-b distinction in test configs (#7238) 2024-01-08 13:19:28 -08:00
boulder-ca Separate issuance.Profile out from issuance.Issuer (#7285) 2024-02-06 17:06:56 -08:00
boulder-observer Add --addr and/or --debug-addr flags to all commands (#7175) 2023-12-07 17:41:01 -08:00
boulder-publisher Simplify issuance.NameID and how it is used (#7260) 2024-01-17 12:55:56 -08:00
boulder-ra RA/CA: Make MaxNames field consistent and supply default (#7256) 2024-01-17 14:48:02 -05:00
boulder-sa Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00
boulder-va RVA: Recheck CAA records (#7221) 2024-01-25 16:23:25 -05:00
boulder-wfe2 WFE: Check NewOrder rate limits (#7201) 2024-01-26 21:05:30 -05:00
caa-log-checker Log version string for more tools at startup (#7087) 2023-09-19 12:46:55 -04:00
ceremony Use RFC 7093 truncated SHA256 hash for Subject Key Identifier (#7179) 2023-12-06 13:44:17 -05:00
cert-checker Update zlint (#7252) 2024-01-16 11:50:37 -08:00
contact-auditor Log version string for more tools at startup (#7087) 2023-09-19 12:46:55 -04:00
crl-checker Log version string for more tools at startup (#7087) 2023-09-19 12:46:55 -04:00
crl-storer Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00
crl-updater all: use proper deprecation comment (#7273) 2024-01-22 12:26:55 -05:00
expiration-mailer expiration-mailer: check address validity before sending (#7220) 2023-12-18 13:32:43 -08:00
id-exporter Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00
log-validator Add --addr and/or --debug-addr flags to all commands (#7175) 2023-12-07 17:41:01 -08:00
nonce-service Remove `service1` / `service2` names in consul (#7266) 2024-01-22 09:34:20 -08:00
notify-mailer Log version string for more tools at startup (#7087) 2023-09-19 12:46:55 -04:00
ocsp-responder Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00
reversed-hostname-checker PA: Improve wildcard exact blocklist implementation (#7218) 2023-12-19 14:22:18 -05:00
rocsp-tool Add --addr and/or --debug-addr flags to all commands (#7175) 2023-12-07 17:41:01 -08: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 test: remove use of 10.88.88.88 in most places (#7270) 2024-01-30 11:34:13 -08: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 Update OTel dependencies to latest (#7206) 2023-12-13 09:33:39 -05:00
shell_test.go Run more go vet checks (#7255) 2024-01-17 12:27:55 -05:00