Skip to content

X509 Verification Custom Extension Policies #12360

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

Closed
wants to merge 15 commits into from

Conversation

deivse
Copy link
Contributor

@deivse deivse commented Jan 29, 2025

Sorry for the very long wait, I know a lot of folks are interested in these features.
The PR is still a bit rough around the edges, and I definitely don't expect the coverage to be 100%, but I decided it's best to get it out there in some form, so I can get some feedback sooner rather than later (especially since this is my first time writing anything relatively major in Rust).

@deivse
Copy link
Contributor Author

deivse commented Jan 29, 2025

PS: This is based on the branch with docs changes that I created before, I don't want if we want to keep it like that, so everything is in here, or if we want to keep it split so that the conversations in the previous PR (#11800) don't become forgotten

@alex
Copy link
Member

alex commented Jan 29, 2025 via email

@deivse
Copy link
Contributor Author

deivse commented Jan 29, 2025

Yeah definitely, I expected that. I think we discussed it before and decided that I should just make a big PR first and you guys can help decide how to break it up.

@reaperhulk
Copy link
Member

Good timing as we’re sprinting a bit on cryptography in the upcoming week 😄

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

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

Ok, @reaperhulk and I have given this an initial pass. I think there's probably a bunch of places we didn't review in enough depth, so this probably will not be the end of the comments :-)

I wanted to provide a few ideas for pieces that should be easy-ish to split into their own PRs:

  • Policy object + attributing moving
  • ExtensionsPolicy builder Python API
  • Rust Extension policy refactor

@deivse
Copy link
Contributor Author

deivse commented Feb 1, 2025

  • Policy object + attributing moving

By this you mean the PyPolicy struct and the change to ClientVerifier and ServerVerifier where the attributes are now accessible via the policy field?

@alex
Copy link
Member

alex commented Feb 1, 2025

Yes, exactly that! Thanks again for all your work on this.

@deivse
Copy link
Contributor Author

deivse commented Feb 7, 2025

Hi, just fyi, I still haven't abandoned this, but I did get sick 😅
Still, I'm hoping to get everything merged by the end of next week, and will try to push the next PR in the coming days depending on how I will be feeling.

@alex
Copy link
Member

alex commented Feb 7, 2025 via email

@deivse
Copy link
Contributor Author

deivse commented Feb 9, 2025

I will close this now since all the conversations have been addressed, and everything else will be addressed in the smaller PRs.

@deivse deivse closed this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants