Skip to content

fix(nix): drop the emSign root nixpkgs' cacert already removed - #521

Merged
furedea merged 1 commit into
mainfrom
fix/drop-emsign-from-ca-blacklist
Nov 25, 2026
Merged

furedea merged 1 commit into
mainfrom
fix/drop-emsign-from-ca-blacklist

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

概要

#520 のロック更新で入った nixpkgs の cacert 3.131.1 は emSign ECC Root CA - G3 を証明書ストアから削除済みです.security.pki.caCertificateBlacklist にこの名前が残っているため,証明書バンドルのビルドが Certs in blocklist but not in cert store で失敗し,darwin-rebuild switch が止まっていました.

変更内容

  • nix/darwin/default.nix: ブロックリストから emSign ECC Root CA - G3 を削除しました.コメントにあった「nixpkgs の cacert が信頼しなくなったら外す」の条件を満たしたためです.Comodo AAA Services root はストアに残っているので維持します.
  • nix/checks.nix: darwinOnly に ca-certificate-bundle を追加し,mbp の /etc/ssl/certs/ca-certificates.crt をビルドします.評価だけの既存チェックではこの失敗を検出できませんでした.

確認

  • 修正前の main で checks.aarch64-darwin.ca-certificate-bundle が同じエラーで失敗することを確認しました.
  • 修正後,ca-certificate-bundle,host-configuration,system-configurations と darwinConfigurations.mbp.system のビルドが通りました.
  • nixfmt --check,statix,deadnix は通過しました.

マージ後

両 Mac で git pull --ff-only と darwin-rebuild switch を実行してください.

🤖 Generated with Claude Code

nixpkgs' cacert 3.131.1, picked up by the lock refresh in #520, no longer ships "emSign ECC Root CA - G3", so keeping it in caCertificateBlacklist fails the CA bundle build and darwin-rebuild switch. A darwinOnly check now builds the bundle, which the evaluation-only checks missed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea

furedea commented Nov 25, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-25T08:19:22.879682Z
We couldn’t complete this review. Comment @codex review to try again.
55ae83f Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

Review summary: no findings.

  • Removing emSign ECC Root CA - G3 from caCertificateBlacklist matches the bundle build failure described in the PR. The root is gone from the cacert store, so it can no longer be trusted. Comodo AAA Services root stays in the list.
  • The new ca-certificate-bundle check in darwinOnly builds mbp.environment.etc."ssl/certs/ca-certificates.crt".source. It catches this class of failure, which the evaluation-only checks missed. It builds only mbp, but the blacklist lives in the shared nix/darwin/default.nix. Nothing under nix/ outside that file sets the blacklist or security.pki, so mba should get the same bundle.
  • I did not run the Nix build myself. This is based on reading the diff and the PR's stated verification.

🤖 Generated with Claude Code

@furedea
furedea merged commit 4b7f9e3 into main Nov 25, 2026
21 of 23 checks passed
@furedea
furedea deleted the fix/drop-emsign-from-ca-blacklist branch November 25, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant