Skip to content

andysalvo/substrate-attestation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

substrate-attestation

CREST conformance

A three-field shape for verifier-issued trust evidence in A2A agent ecosystems.

{
  "substrate_attestation": {
    "url": "https://verify.example.com/receipt.json",
    "content_hash": "sha256:...",
    "verifier": "did:web:verify.example.com"
  }
}

Three fields. No schema absorption. Method-agnostic.

What it does

Binds a verifier-issued receipt to a subject artifact. Any consumer can locate the receipt (url), verify its integrity (content_hash), and identify who produced it (verifier).

What it does NOT do

  • Prove the receipt is correct
  • Assert the verifier is trustworthy
  • Define receipt schema
  • Impose scoring or enforcement policy

Those judgments belong to the consumer, not the attestation.

Spec

SPEC.md defines the field shapes, validation rules, verification procedure, threat model, and proposed CTEF normative language.

Conformance

python3 validate.py

24 fixtures across format, verdict-binding, and key-rotation categories. The validator checks: field presence, hash format, DID syntax, URL scheme. Optional --verify-hash flag fetches the URL and verifies the content hash.

python3 validate.py --check '{"substrate_attestation": {"url": "https://...", "content_hash": "sha256:...", "verifier": "did:web:..."}}'

Compatibility Matrix

matrix.json tracks who has been verified against what. 8 entries across 7 projects.

CI Verification

Run Crest verification on every push:

- uses: andysalvo/crest-verify-action@v1
  with:
    endpoint: https://your-service.com

Step summary, PR comments, badge output. Action docs.

Contributing Fixtures

See FIXTURE_SCHEMA.md for the canonical fixture format. Third-party fixtures go in fixtures/contrib/. PRs welcome.

Origin

License

Apache 2.0

About

Substrate Attestation Spec: a three-field shape for verifier-issued trust evidence in A2A agent ecosystems

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors