Repository navigation
gpac: use cacert bundle instead of vendored CA bundle - #577803
Merged
Merged
Conversation
Assisted-by: Claude Code (Claude Fable 5.1) Assisted-by: Claude Code (Claude Opus 5.5)
66 of 95 tasks
❌
|
Contributor
|
The failures of dash-mpd-cli and tdarr were already there before this PR: shaka-packager fails with gcc 16 (NixOS/nixpkgs#571536), and handbrake builds ffmpeg-full with a patch that no longer applies (NixOS/nixpkgs#576333, fix in NixOS/nixpkgs#576407). Neither failure is related to this PR. Approved. |
thesn10
approved these changes
Oct 24, 2026
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.
GPAC has a bundled CA file,
share/gpac/res/ca-bundle.crt. The defaultgpacpackage does not read this file. It does not use OpenSSL or libcurl, thus it cannot openhttps://URLs. Onlygpac.override { withFullDeps = true; }reads the file, and only when no-ca-bundleoption is set and the default CA file of OpenSSL or libcurl is not available. This change replaces the file with a symlink to theca-bundle.crtfile ofcacertinpostInstall. Thus, the change corrects the fallback for that configuration.Warning
AI Disclosure: Claude Code made the code change, the commit message and the first version of this pull request description. Claude Code used Claude Fable 5.1 and Claude Opus 5.5. I examined all of this work. Claude Code also wrote all of nix-cacert-harness. This pull request description is written in ASD-STE100 (Simplified Technical English), examined with memelint in
strictmode.Test
nix-cacert-harness examines the package before and after this change. A local copy of nixpkgs is not necessary. The harness builds GPAC from source after this change, and this build is approximately 2 minutes long.
Harness output: gpac
The harness tests the package with the certificate chains of the eMudhra incident, from https://emudhra.we-have-a-problem.com/ (only the certificates, not the keys). Before this change, the bundled file accepts all 14 chains (
accepted 14/14). Thus, the file accepts the eMudhra intermediate certificates throughemSign ECC Root CA - G3and through the Sectigo cross-sign byAAA Certificate Services. After this change, the file accepts no chain (accepted 0/14). The output has no second part, because the defaultgpacpackage cannot make TLS connections. nixpkgs has no package for thewithFullDeps = trueconfiguration, thus the harness cannot test it.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.