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

Unpin python-cryptography and handle x509 parsing errors in moz_kinto_publisher #165

Closed jschanck closed 2 years ago

jschanck commented 2 years ago

We pinned python-cryptography to version 3.4.8 because later versions failed to parse some certificates in our enrolled.json file. The issue is actually with the certificates, not python-cryptography. So this PR releases the pin.

This PR also adds exception handling for X509 parsing in moz_kinto_publisher. The bad certs in enrolled.json will throw exceptions, and this will ultimately cause the corresponding intermediates to be disenrolled from CRLite.

Resolves #164