SCITT v0.3.0: receipt compliance, JWKS endpoint, signing key persistence#2
Merged
pavanputhra merged 1 commit intomainfrom Apr 18, 2026
Merged
SCITT v0.3.0: receipt compliance, JWKS endpoint, signing key persistence#2pavanputhra merged 1 commit intomainfrom
pavanputhra merged 1 commit intomainfrom
Conversation
…nce (CON-526, CON-527, CON-528) CON-526: root_hash used as COSE Sign1 detached payload in receipts (compliance fix); added GET /jwks endpoint and jwks_uri in transparency-configuration. CON-528: _load_or_create_signing_key() with three-tier priority — SCITT_SIGNING_KEY env var (base64 PEM), SCITT_KEY_FILE path (load or generate+persist), ephemeral fallback; docker-compose.yml mounts ./keys volume and sets SCITT_KEY_FILE. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
create_receipt()now usesroot_hashas the COSE Sign1 detached payload (compliance fix per IETF clarification); addedGET /jwksendpoint (EC P-256 public key as JWK) andjwks_uriin/.well-known/transparency-configuration_load_or_create_signing_key()with three-tier priority —SCITT_SIGNING_KEYenv var (base64 PEM, for k8s Secrets),SCITT_KEY_FILEpath (load if exists, generate-and-persist if not), ephemeral fallback for devFiles Changed
src/core/receipts.py—create_receipt()acceptsroot_hashand uses it as detached payloadsrc/api/endpoints.py—POST /entriesandGET /entries/{id}computeroot_hashviamerkle_builder.get_root_sync(); addedGET /jwksendpoint;jwks_uriin transparency-configurationsrc/main.py—_load_or_create_signing_key()with 3-tier priority;_ec2key_from_cryptography()helpersrc/config.py— Addedsigning_key: Optional[str] = None(maps toSCITT_SIGNING_KEY)docker-compose.yml—./keys:/app/keysvolume +SCITT_KEY_FILE=/app/keys/signing-key.pem.gitignore— Addedkeys/,data/Test Plan
cose_receiptverified against/jwkspublic key using RFC 9162 inclusion proof ✅./keys/signing-key.pemvolume mount)_load_or_create_signing_key()key loading logicRelated vcon-server PR: vcon-dev/vcon-server#151
🤖 Generated with Claude Code