-
Notifications
You must be signed in to change notification settings - Fork 118
Upgrade x509-parser to 0.16 #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nice, this should fix support for compiling on ARM Windows I believe - thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There are a couple of TODO's in unit tests we could knock out now, but I think it would be reasonable to do that in a separate PR. I can take a look later:
Lines 174 to 176 in 3c3e984
// TODO: Waiting on x509-parser 0.15.1 to be released. | |
// let crl_number = BigUint::from_bytes_be(crl.get_params().crl_number.as_ref()); | |
// assert_eq!(x509_crl.crl_number().unwrap(), &crl_number); |
Line 196 in 3c3e984
// TODO: x509-parser does not yet parse the CRL issuing DP extension for further examination. |
An upstream bug in x509-parser that prevented us from asserting the rcgen generated CRL had the correct CRL number has been fixed, so we can now update our unit test to assert the expected value.
@djc I have commits fixing up those two test TODOs. Are you OK with me pushing those into this branch or would you prefer I do it separately after this merges? |
The upstream x509-parser crate now has support for representing CRL issuing distribution point extensions. This commit extends the existing x509-parser CRL unit test to assert various properties of the parsed CRL IDP extension match expectations.
Sure, you have the baton! |
Pushed my changes 🚀 |
✅ Test changes LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work
No description provided.