Repository navigation
[Backport staging-22.11] python3Packages.certifi: Update and use system ca-bundle - #205191
Merged
Merged
Conversation
We update that one more reliably and it allows ties in with module based configuration applied through `security.pki`. Also allow overwriting the CA bundle used through `NIX_SSL_CERT_FILE` as is common throughout nixpkgs. Fixes: CVE-2022-23491 (cherry picked from commit 8d7cc9c)
Diff: certifi/python-certifi@2022.09.24...2022.12.07 (cherry picked from commit b40cf0d)
The where() function in certifi has been patched to allow more consumers of the certifi package to use the system ca-bundle. (cherry picked from commit 8456141)
1 of 13 tasks
vcunat
marked this pull request as draft
December 9, 2022 09:39
For tests that require a working ca-bundle via certifi we need to setup `NIX_SSL_CERT_FILE`, which is kindly provided by cacerts setup-hook. (cherry picked from commit 35750ba)
vcunat
force-pushed
the
backport-205127-to-staging-22.11
branch
from
December 9, 2022 15:23
bca60e3 to
c2f855b
Compare
vcunat
marked this pull request as ready for review
December 9, 2022 15:36
Member
|
I think I picked all the closely related commits so far. I omitted a commit-revert pair. |
Member
|
Maybe we can wait anyway for |
Member
|
Yeah, unfortunately I'm not confident about the fixes being comprehensive either.. |
vcunat
marked this pull request as draft
December 10, 2022 17:58
(cherry picked from commit 92f67f6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bot-based backport to
staging-22.11, triggered by a label in #205127.