boulder/cmd
Daniel McCarney 608c381444
SA: conditionally track issued names in AddPrecertificate. (#4573)
Prev. we inserted data for tracking issued names into the `issuedNames` table
during `sa.AddCertificate`. A more robust solution is to do this during
`sa.AddPrecertificate` since this is when we've truly committed to having
issued for the names.

The new SA `WriteIssuedNamesPrecert` feature flag enables writing this table
during `AddPrecertificate`. The legacy behaviour continues with the flag
enabled or disabled but is updated to tolerate duplicate INSERT errors so that
it is possible to deploy this change across multiple SA instances safely.

Along the way I also updated `SA.AddPrecertificate` to perform its two
`INSERT`s in a transaction using the `db.WithTransaction` wrapper.

Resolves https://github.com/letsencrypt/boulder/issues/4565
2019-11-26 13:43:32 -05:00
..
admin-revoker admin-revoker: use WithTransaction (#4560) 2019-11-18 15:49:25 -05:00
akamai-purger Add a standalone akamai purger service (#4040) 2019-02-05 09:00:31 -08:00
boulder-ca Support admin. blocking public keys. (#4419) 2019-09-06 16:54:26 -04:00
boulder-janitor janitor: add cleanup of Orders and assoc. rows. (#4544) 2019-11-13 13:47:55 -05:00
boulder-publisher publisher: allow custom UA for CT submissions. (#4492) 2019-10-21 15:08:03 -04:00
boulder-ra Switch GenerateOCSP to directly use protos instead of wrapper (#4549) 2019-11-14 11:10:33 -08:00
boulder-sa SA: refactor DB stat collection & collect more stats. (#4096) 2019-03-06 17:08:53 -08:00
boulder-va bdns: move logDNSError to exchangeOne, log ErrId specially. (#4553) 2019-11-15 16:03:45 -05:00
boulder-wfe Clarify public key blocklist documentation. (#4523) 2019-11-04 09:10:36 -05:00
boulder-wfe2 Clarify public key blocklist documentation. (#4523) 2019-11-04 09:10:36 -05:00
cert-checker deps: update github.com/zmap/zlint to latest. (#4399) 2019-08-13 13:05:29 -04:00
expiration-mailer expiration-mailer: fix nagsAtCapacity to reset. (#4569) 2019-11-20 19:32:58 -08:00
expired-authz-purger2 Add authz2 expired-authz-purger tool (#4226) 2019-05-30 14:01:01 -07:00
gen-ca Dev/CI: Add Go 1.11.1 builds (#3888) 2018-10-19 09:38:20 -07:00
gen-key Add PKCS#11 certificate generation tool (#3729) 2018-06-12 12:13:09 -07:00
id-exporter Consistently used stdlib context package (#4229) 2019-05-28 14:36:16 -04:00
log-validator log-validator: add cmd/daemon for verifying log integrity (#4482) 2019-10-21 10:12:55 -04:00
nonce-service Switch to more efficient multi nonce-service design (#4308) 2019-06-28 12:58:46 -04:00
notify-mailer Continue work on more SMTP errors (#4039) 2019-01-28 22:23:25 -08:00
ocsp-responder ocsp-responder: Integrate CFSSL OCSP responder code (#4461) 2019-10-07 14:05:37 -04:00
ocsp-updater SA: conditionally track issued names in AddPrecertificate. (#4573) 2019-11-26 13:43:32 -05:00
orphan-finder Fix orphan-finder (#4507) 2019-10-25 09:51:14 -07:00
single-ocsp Improve single-ocsp command (#2181) 2016-09-15 15:28:54 -07:00
testdata Switch to DSNs (#4044) 2019-02-11 10:46:07 -08:00
weak-key-flatten Basic RSA known weak key checking (#2765) 2017-05-25 09:33:58 -07:00
weak-key-search Provide formatting logger functions. (#3699) 2018-05-10 11:06:29 -07:00
clock_generic.go Switch to new vendor style (#1747) 2016-04-18 12:51:36 -07:00
clock_integration.go Provide formatting logger functions. (#3699) 2018-05-10 11:06:29 -07:00
config.go Excise grpc maxConcurrentStreams configuration (#4257) 2019-06-12 09:35:24 -04:00
config_test.go cmd: Split out config structs (#4200) 2019-05-06 11:11:08 -04:00
shell.go cmd: remove stale package comment. (#4488) 2019-10-17 13:40:32 -04:00
shell_test.go Remove references to test-ca.pem. (#3322) 2018-01-05 12:07:12 -08:00