Skip to content

[Backport release-26.05] caddy: use only the system CA store - #576735

Merged
stepbrobd merged 1 commit into
release-26.05from
backport-576534-to-release-26.05
Oct 21, 2026
Merged

stepbrobd merged 1 commit into
release-26.05from
backport-576534-to-release-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to release-26.05, triggered by a label in #576534.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

Caddy imports golang.org/x/crypto/x509roots/fallback in
cmd/x509rootsfallback.go. That bundle contains the eMudhra emSign roots,
including emSign ECC Root CA - G3. Go uses it when no system roots load,
for example in a container without /etc/ssl. It does not get cacert
updates.

Remove the import, so that TLS uses only the system CA store. Also do
this for caddy.withPlugins, where caddy is in the vendor directory.

Assisted-by: Claude Code (claude-opus-5)
(cherry picked from commit 43a7ae3)
@nixpkgs-ci nixpkgs-ci Bot added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Oct 21, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from zimbatm October 21, 2026 08:08
@nixpkgs-ci nixpkgs-ci Bot mentioned this pull request Oct 21, 2026
4 of 13 tasks
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". llm-assisted Contributions that include code generation with LLMs 4.workflow: backport This targets a stable branch labels Oct 21, 2026
@stepbrobd
stepbrobd added this pull request to the merge queue Oct 21, 2026
Merged via the queue into release-26.05 with commit a48fbca Oct 21, 2026
34 checks passed
@stepbrobd
stepbrobd deleted the backport-576534-to-release-26.05 branch October 21, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 4.workflow: backport This targets a stable branch 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants