Repository navigation
Conversation
Assisted-by: Claude Code (Claude Opus 5.5) with patchix
dotlambda
reviewed
Oct 25, 2026
dotlambda
left a comment
Member
There was a problem hiding this comment.
This project allows you to access your original operating system trust store, thus helping you to verify the remote peer certificates. It automatically fallback to an embedded trust store generated from the CCADB trusted source.
So what's the point of embedding cacert in the first place?
This was referenced Oct 25, 2026
Member
Author
I'm not sure, maybe ping someone from upstream? Here's the shim that reproduces the vulnerable behavior before the change and fixed behavior after it. Simplified version: import urllib.request
import wassima
ctx = wassima.create_default_ssl_context()
with urllib.request.urlopen(sys.argv[1], context=ctx) as r:
print("status", r.status)Unfurl the collapsed "Output of harness: python3Packages.wassima" bit under the "Test" heading in the OP to see the run results. |
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.
Part of #576541.
wassima has a bundled CA list, as a Python string in
wassima/_os/_embed.py, and this list has the eMudhra roots thatcacertremoved. InpostPatch, this change removes the list and makes_embed.pyread theca-bundle.crtfile ofcacert. A symlink cannot replace the list, because the list is a string in the code, not a file.Note
AI Disclosure: Claude Code made the code change, the commit message and the first version of this pull request description, with patchix. Claude Code used Claude Opus 5.5. This pull request description is written in ASD-STE100 (Simplified Technical English), examined with memelint in
strictmode. As the automation/AI policy requires, I established confidence in this output: by manual review of the code change and of this description, and with the verification tooling that this description discloses.Test
nix-cacert-harness examines the package before and after this change. A local copy of nixpkgs is not necessary.
Output of harness: python3Packages.wassima
Before the change, the bundled list accepts 7 of the 14 eMudhra chains; after, none. In the live test, wassima connected to two of the four eMudhra test servers before the change, and to no server after.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.