mozilla / crlite

WebPKI-level Certificate Revocation via Multi-Level Bloom Filter Cascade
http://www.cs.umd.edu/~dml/papers/crlite_oakland17.pdf
Mozilla Public License 2.0
67 stars 8 forks source link

Normalize PEM data from CCADB report #272

Closed jschanck closed 1 year ago

jschanck commented 1 year ago

The CCADB report often includes PEM data with misplaced line breaks, etc. There are several places in the code that use a hash of PEM data for caching, and we sometimes suffer cache misses because of the formatting errors in the CCADB report. We should normalize PEMs in root_program/issuers.go before writing the issuer list.