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
70 stars 8 forks source link

moz_kinto_publisher should adjust coverage by MMD #216

Closed jschanck closed 2 years ago

jschanck commented 2 years ago

The moz_kinto_publisher script currently puts the exact values of MinTimestamp and MaxTimestamp that it receives from ct-fetch into each log's coverage metadata. I had originally planned to have clients adjust these values by the log's MMD before doing a coverage check, as that's similar to the existing behavior (clients are currently adjusting the filter timestamp by MMD in NSSCertDBTrustDomain::CheckCRLite).

On reflection I think moz_kinto_publisher should adjust the timestamps before including them in the coverage metadata. There are a couple of special cases to handle when ct-fetch has a "complete" log, and I'd rather not push that logic onto clients.