boulder/ctpolicy
Matthew McPherrin 8a01611b70
Switch to loglist3 package for parsing CT log list (#7930)
The schema tool used to parse log_list_schema.json doesn't work well
with the updated schema. This is going to be required to support
static-ct-api logs from current Chrome log lists.

Instead, use the loglist3 package inside the certificate-transparency-go
project, which Boulder already uses for CT submission otherwise.

As well, the Log IDs and keys returned from loglist3 have already been
base64 decoded, so this re-encodes them to minimize the impact on the
rest of the codebase and keep this change small.

The test log_list.json file needed to be made a bit more realistic for
loglist3 to parse without base64 or date parsing errors.
2025-01-10 13:29:40 -08:00
..
ctconfig config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
loglist Switch to loglist3 package for parsing CT log list (#7930) 2025-01-10 13:29:40 -08:00
ctpolicy.go Replace explicit int loops with range-over-int (#7434) 2024-04-22 10:34:51 -07:00
ctpolicy_test.go ctpolicy: More stats and monitoring (#6822) 2023-05-25 17:25:08 -04:00