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

Add support for X509_V_FLAG_PARTIAL_CHAIN #1166

Merged
merged 4 commits into from Dec 16, 2022

Conversation

vEpiphyte
Copy link
Contributor

Add support for the X509_V_FLAG_PARTIAL_CHAIN constant. This is similar to the following cPython changes made to support partial certificate chain verification:

https://bugs.python.org/issue40849
https://github.com/python/cpython/pull/20463/files

While the cPython changes are in 3.10+, this would allow users with older python libraries to take advantage of this flag.

@alex
Copy link
Member

alex commented Dec 15, 2022

thanks for the PR.

test failures look to be related to tox4 -- #1167 should fix those.

@alex
Copy link
Member

alex commented Dec 15, 2022

ok, if you can rebase/merge main we can test/review/merge

@alex alex merged commit 1cafac4 into pyca:main Dec 16, 2022
@vEpiphyte vEpiphyte deleted the verification_partial_flag branch December 16, 2022 00:03
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.

None yet

2 participants