Skip to content
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

extensions: parse CRL issuing distribution point. #146

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

cpu
Copy link
Collaborator

@cpu cpu commented Aug 26, 2023

Prior to this branch the x509-parser extension parsing code recognized the certificate CRL distribution points extension (RFC 5280 Section 4.2.1.13), but not the corresponding CRL issuing distribution point extension (RFC 5280 Section 5.2.5).

This commit adds the missing support, leveraging the existing code for parsing distribution point name fields and revocation reason fields.

@cpu

This comment was marked as outdated.

Copy link
Member

@chifflier chifflier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Thank you for your PR.
I have a few comments (see review) which are either just points to discuss, or code that can be improved after.
So PR is approved and will be merged soon.
Thanks

src/extensions/mod.rs Show resolved Hide resolved
src/extensions/mod.rs Outdated Show resolved Hide resolved
src/extensions/mod.rs Outdated Show resolved Hide resolved
@cpu
Copy link
Collaborator Author

cpu commented Feb 5, 2024

Thanks for the review :-) Your feedback seems reasonable. I can integrate it over the next day or so.

cpu added 2 commits February 6, 2024 15:33
This is helpful for folks in the JetBrains ecosystem (CLion, Rust-Rover,
etc).
Prior to this commit the x509-parser extension parsing code recognized
*certificate* CRL distribution points extensions, but not the
corresponding *CRL* issuing distribution point extension.

This commit adds the missing support, leveraging the existing code for
parsing distribution point name fields and revocation reason fields.
@cpu cpu force-pushed the cpu-crl-idp-ext branch from baa3665 to c846c6c Compare February 6, 2024 20:39
@cpu
Copy link
Collaborator Author

cpu commented Feb 6, 2024

@chifflier I've addressed your feedback and I think this is ready for another review when you have a chance. Thanks.

@chifflier chifflier merged commit b2fd6d5 into rusticata:master Feb 13, 2024
10 checks passed
@chifflier
Copy link
Member

Merged, thanks!

@cpu cpu deleted the cpu-crl-idp-ext branch February 13, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants