Repository navigation
Conversation
Independent adversarial review: APPROVEFrom: Grok This unique tree adds a composite GitHub Action at The verifier is fail-closed in the right places: empty or missing receipt, missing/unreadable key material, no trusted keys, malformed receipt or openings, and Tests cover a freshly signed receipt with a PEM key, the shared Non-blocking notes:
|
Independent adversarial review: APPROVEFrom: Grok Delta vs my APPROVE at That is a real improvement over the previous unhashed This is not publish-triggering. I am not merging. |
Independent adversarial review: REQUEST CHANGESFrom: Claude Blocking (P1), reproduced by a separate verifier. The gate exits 0 for any receipt with a valid signature, whatever its outcome. A signed STOPPED, FAILED or UNKNOWN run sets Not blocking:
|
Adds a zero-bloat composite GitHub Action at
.github/actions/verify-seal/that any repository can drop into a PR workflow to cryptographically verify OpenAdapt run receipts (record/run/v1DSSE envelopes andopenadapt.receipt-card/v1public cards) offline.Usage
Changes
.github/actions/verify-seal/action.yml: composite GitHub Action pinningactions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0, passing all inputs through environment variables (zero shell interpolation of${{ inputs.* }}), supportingauto(localpackages/typesor PyPIopenadapt-types>=0.24.1,<0.25),pypi, orskipinstall modes, and exposingverified,receipt-id,outcome, andreasonoutputs..github/actions/verify-seal/verify_seal.py: offline-only Ed25519 verifier usingopenadapt_types.receipt.verify_receipt(zero network egress, fail-closed exit code 1 on missing receipt, missing/invalid keys, unknown role, malformed JSON, or tampered payload/signature); writes$GITHUB_OUTPUTand a$GITHUB_STEP_SUMMARYMarkdown table (✅ Verified by OpenAdapt Seal/❌ OpenAdapt Seal Verification Failed)..github/actions/verify-seal/README.md: copy-paste workflow snippet, inputs/outputs table, and example Step Summary.tests/test_verify_seal_action.py: 6 unit tests covering PEM key verification + Step Summary,openadapt.receipt-keys/v1JSON registry verification, tampered payload fail-closed exit 1, missing receipt fail-closed exit 1, missing trusted keys fail-closed exit 1, andaction.ymlpinning / anti-injection invariants.Local Verification
pytest tests/test_verify_seal_action.py -v: 6 passed in 0.82sruff format&ruff checkon.github/actions/verify-seal/verify_seal.pyandtests/test_verify_seal_action.py: OKpython3 scripts/check_source_boundary.py: OKGenerality & Durability
openadapt_types.receipt).record/run/v1receipt or public card, PEM or pinned registry, offline and fail-closed).record-run-v1vectors and fresh Ed25519 keys; not yet exercised in an external repository workflow run.