agent-substrate / agent-substrate/substrate

atunnel: refresh client CA pool per handshake

オープン
#688 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/network kind/feature
主要言語
Go
スター
1.8k
フォーク
316
平均マージ
2日 43分
マージ済み PR(30日)
287

説明

In `internal/atunnel/server.go` the client CA pool is built once at startup, while leaf certificates are reloaded per connection. Because substrate certs expire within ~1–2 days, a frozen CA pool means the server will eventually reject valid peers (or keep trusting a rotated-out CA) until it restarts.

Implement tls.Config.GetConfigForClient so the client CA pool is re-read on each handshake, mirroring the existing per-connection leaf cert reload.

source: https://github.com/agent-substrate/substrate/pull/559#discussion_r3687538721

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。