boulder/core
Phil Porada c75bf7033a
SA: Don't store HTTP-01 hostname and port in database validationrecord (#6863)
Removes the `Hostname` and `Port` fields from an http-01
ValidationRecord model prior to storing the record in the database.
Using `"hostname":"example.com","port":"80"` as a snippet of a whole
validation record, we'll save minimum 36 bytes for each new http-01
ValidationRecord that gets stored. When retrieving the record, the
ValidationRecord `RehydrateHostPort` method will repopulate the
`Hostname` and `Port` fields from the `URL` field.

Fixes the main goal of
https://github.com/letsencrypt/boulder/issues/5231.

---------

Co-authored-by: Samantha <hello@entropy.cat>
2023-05-23 15:36:17 -04:00
..
proto Deprecate ROCSPStage6 feature flag (#6770) 2023-04-04 15:41:51 -07:00
challenges.go RA: Simplify FinalizeOrder flow (#6588) 2023-01-25 17:59:54 -08:00
challenges_test.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
core_test.go dependencies: Replace square/go-jose.v2 with go-jose/go-jose.v2 (#6598) 2023-01-24 12:08:30 -05:00
interfaces.go RA: Simplify FinalizeOrder flow (#6588) 2023-01-25 17:59:54 -08:00
objects.go SA: Don't store HTTP-01 hostname and port in database validationrecord (#6863) 2023-05-23 15:36:17 -04:00
objects_test.go RA: Simplify FinalizeOrder flow (#6588) 2023-01-25 17:59:54 -08:00
util.go Remove redundant jose import alias (#6887) 2023-05-15 09:45:58 -07:00
util_test.go crl-updater: retry failed shards (#6907) 2023-05-22 12:59:09 -07:00