Skip to content

Add SCITT storage backend (common/storage/scitt)#155

Merged
pavanputhra merged 1 commit intomainfrom
pr-136-scitt-storage
Apr 22, 2026
Merged

Add SCITT storage backend (common/storage/scitt)#155
pavanputhra merged 1 commit intomainfrom
pr-136-scitt-storage

Conversation

@pavanputhra
Copy link
Copy Markdown
Contributor

Summary

Ports the only missing piece from PR #136 to the restructured codebase.

  • Adds common/storage/scitt/__init__.py — a post-chain storage backend that registers per-participant SCITT entries on a SCRAPI transparency service
  • Does not write receipts back to the vCon in Redis (avoids races with parallel storage writers — the TS is authoritative for receipts)
  • Supports signing_key_pem (base64-encoded, for k8s secrets) and signing_key_path fallback, consistent with the scitt link
  • Iterates over opts["operations"] (e.g. ["vcon_enhanced"]) so one storage instance can register multiple lifecycle events

All other changes from PR #136 (link refactor, register_signed_statement, tests) were already merged via PR #151 (feature/scitt-v0.3.0).

Test plan

  • docker compose run --rm conserver pytest conserver/links/scitt/tests/ -v
  • Configure storage.scitt in a chain and verify entries appear in SCITTLEs after processing

🤖 Generated with Claude Code

Ports the storage/scitt module from PR #136 to the new common/storage/ path.
Registers per-participant SCITT entries as a storage backend without writing
receipts back to Redis (avoids races with parallel storage writers).
Supports signing_key_pem (base64 env var) and signing_key_path, consistent
with the scitt link.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pavanputhra pavanputhra merged commit f4d28b6 into main Apr 22, 2026
1 check failed
@pavanputhra pavanputhra deleted the pr-136-scitt-storage branch April 22, 2026 07:34
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