-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-35941: Fix ssl certificate enumeration for windows #12486
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
This commit adds a function that collects certificates from several certificate stores into one certificate collection store that is enumerated.
This commit adds a function that collects certificates from several certificate stores into one certificate collection store that is enumerated.
…ssue-35941 Reopen PR for "bpo-35941: Fix ssl certificate enumeration for windows"
|
@kctherookie Sorry for the delay again - we'll want the NEWS file for this item, since it's a valuable fix that people should know about. Could you add it? There are instructions if you click "Details" on the failed check below. |
|
Added NEWS entry, thanks for reviewing. |
|
Thanks @kctherookie for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
Thanks for the contribution! |
Add a function to collect certificates from several certificate stores into one certificate collection store that is then enumerated. This ensures we load as many certificates as we can access. (cherry picked from commit d93fbbf) Co-authored-by: kctherookie <48805853+kctherookie@users.noreply.github.com>
|
GH-12609 is a backport of this pull request to the 3.7 branch. |
Add a function to collect certificates from several certificate stores into one certificate collection store that is then enumerated. This ensures we load as many certificates as we can access. (cherry picked from commit d93fbbf) Co-authored-by: kctherookie <48805853+kctherookie@users.noreply.github.com>
This PR adds a function to Modules/_ssl.c.
The function collects all readable certificate stores into one certificate store collection that is later
used by _ssl_enum_certificates_impl and _ssl_enum_crls_impl. During enumeration duplicate certificates and crls are handled.
Reopened PR for @zooba
https://bugs.python.org/issue35941