Skip to content

build(nix): update llm-agents for Claude Code 2.1.306 - #281

Merged
furedea merged 1 commit into
mainfrom
build/llm-agents-claude-2-1-306
Oct 21, 2026
Merged

furedea merged 1 commit into
mainfrom
build/llm-agents-claude-2-1-306

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

概要

Claude Code 2.1.302 は内蔵の CA に侵害された eMudhra の root を含み,WebFetch で検査ホストを取得できてしまう.2.1.306 ではその root が消えている.llm-agents だけを更新して 2.1.306 にする.

変更前 変更後
llm-agents 14f2728(2026-10-18) 4c0e549(2026-10-21)
Claude Code 2.1.302(emSign を含む証明書名 17 か所) 2.1.306(emSign ECC Root CA - G3 と AAA Certificate Services なし)
codex / herdr 0.163.0 / 0.9.5 変わらない

受け入れ条件

  • 2.1.306 の公式バイナリ(hash は llm-agents の記録と一致)で claude -p "say ok" が成功する.2.1.304 で起きた UNABLE_TO_GET_ISSUER_CERT_LOCALLY は出ない
  • nix flake check が通る
  • switch 後,claude --version が 2.1.306 になる
補足

🤖 Generated with Claude Code

Claude Code 2.1.306 drops the roots behind the compromised eMudhra
intermediates from its bundled CA store; 2.1.302 still trusts them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@furedea
furedea merged commit 9364a5a into main Oct 21, 2026
11 checks passed
@furedea
furedea deleted the build/llm-agents-claude-2-1-306 branch October 21, 2026 17:21
furedea added a commit that referenced this pull request Oct 22, 2026
## 概要

`switch` と herdr の再起動で `SSL_CERT_FILE` などが入った新しいシェルでは,Claude Code の
`/login` が `UNABLE_TO_GET_ISSUER_CERT_LOCALLY` で失敗した.既定の
`CLAUDE_CODE_CERT_STORE=bundled,system` のうち OS
側の読み込みで失敗しており,`CLAUDE_CODE_CERT_STORE=bundled` ではログインできた.Claude Code
2.1.306 の内蔵 CA には侵害された eMudhra の root がないため,内蔵だけを使う.

| | 変更前 | 変更後 |
|---|---|---|
| `CLAUDE_CODE_CERT_STORE` | 未設定(`bundled,system`) | `bundled` |
| 新しいシェルでの `/login` | 証明書エラーで失敗 | 成功(手元で確認) |

## 受け入れ条件

- [x] `CLAUDE_CODE_CERT_STORE=bundled claude` で `/login` が成功する
- [x] `nix flake check` が通る
- [ ] `switch` 後,環境変数を付けずに起動した Claude Code でログインと API 呼び出しができる

<details>
<summary>補足</summary>

- `CLAUDE_CODE_CERT_STORE` は settings の専用キーがなく,`env`
ブロックで設定する(公式ドキュメント「Enterprise network configuration」).
- 内蔵だけにすると,OS の証明書ストアにだけ入れた社内 CA(TLS を復号するプロキシなど)は使えない.今の環境にはない.
- Claude Code 2.1.302 以前の内蔵 CA は侵害された root を含むため,この設定は 2.1.306
以上(#281)を前提とする.

</details>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <132188853+furedea@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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