verify_chain: judge revocation by snapshot membership while windows are judged at at_time
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start by reading the implementation and tests for verify_chain and effective_revocation, then trace how _check_revocation handles authority and snapshot membership. Decide which proposed public API fits the existing interface while preserving the current default, and add coverage for a snapshot statement whose issued_at is later than at_time. Done means the public API supports the log-order reading, documents that the caller supplies the exact snapshot, and the existing behavior remains covered.
索引モデルが issue の本文から書いたものです。
説明
Problem statement
An auditor that replays a past decision from a transparency log needs two different clocks. Validity windows are judged at the decision time (at_time). Revocation is judged by log order: the snapshot holds exactly the statements the log published before the receipt, so every statement in it should count, whatever its issued_at says.
Today verify_chain(at_time=T, revocations=S) passes at_time=T on to effective_revocation, which skips statements with issued_at > T. A statement logged before the receipt, but stamped later by the revoker's clock, is ignored. The only way to get the log-order reading is to run verify_chain(..., revocations=None) and then the private _check_revocation(chain, S, at_time=None, now=T, max_staleness=None). That is what the MUSUBI companion does now (horizon-shield workers/hs-ledger/nenrin/musubi-v0/ca2a-companion-v0/companion_v0.py, _ca2a, pinned to ca2a-runtime 0.4.0). A private call will break on refactors that never touch its reading.
Proposed solution
Either of these, with today's default unchanged:
- A keyword on
verify_chain, for examplerevocation_at_time, defaulting toat_time, whereNonemeans every statement in the supplied snapshot is in force. - A public
check_revocation(chain, revocations, *, at_time=None, now, max_staleness=None)with the semantics_check_revocationhas now, documented as valid only on a chain whose structure has already verified.
Alternatives considered
- Re-implementing the authority walk in the companion. Rejected: it would drift from cA2A's own rule that a delegate cannot revoke the grant it received.
- Rewriting
issued_atin the snapshot. Rejected: it changes signed statements.
Security/TEE impact
None on the TEE boundary or attestation flow. The new reading only counts more revocations, never fewer. When it is used, the caller asserts that the snapshot is exactly the set in force, and the docstring should say the caller owns that.
Spec alignment
No trace-spec change required.
Context: agentrust-io/.github discussion #65. Once this ships, the integrations entry switches to it and drops the 0.4.0 pin.
- 主要言語
- Python
- スター
- 9
- フォーク
- 14
- 平均マージ
- 17時間 24分
- マージ済み PR(30日)
- 56
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agentrust-io/ca2a のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
agentrust-io/ca2a#222 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
design: correction-aware supersession for delegated authority and pending action evidence再び着手できるかも @Evalbound が 46 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
agentrust-io/ca2a#129 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Scope proposal: financial mandate evidence for delegated limits, in-flight revocation, and decision receipts再び着手できるかも @amyli1996 が 46 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
agentrust-io/ca2a#109 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
tracker: complete confidential-hardware conformance and release assurance decision対応中かも @rajnisht7 が 2 日前に担当しました。 オープンattestation enhancement tier-3
agentrust-io/ca2a#47 · コメント 7 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
test(conformance): finish ACTION historical validity-window replay cases再び着手できるかも @K611-dot が 58 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンhelp wanted
agentrust-io/ca2a#36 · コメント 15 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
agentrust-io/ca2a の issue をすべて見る
似ている issue
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scope対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
roadmap-100
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
comp/tools P2 tool/browser tool/file type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#143418 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
python-hyper/uritemplate#164 ·