feat: concierge mints SIGNED grants + publishes its keys (issuer side)#6
Merged
Conversation
The concierge mints grants, so it signs them. resolve now returns a SignedGrant bound to the caller (audience), a short expiry, and a nonce, signed with an Ed25519 grant key (generated + persisted on first use). A new `keys` method publishes the issuer's public key set (kid-indexed) for keyless verification by serving rooms (verifyGrantWithKeys) — no shared secret. Un-stubs the Phase-1 null signature (CONCIERGE.md §7 / the transport-split ADR). Tests: resolve mints a grant that verifies against the published keys, and a different audience cannot present it. 11 pass. Remaining: the serving-room verify step in each door daemon + key fetch. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
What
The concierge mints grants, so it signs them (issuer side of the transit-grant work,
prx-79id):resolvenow returns a SignedGrant bound to the caller (audience), a short expiry, and a nonce — signed with an Ed25519 grant key generated + persisted on first use ($CONCIERGE_GRANT_KEY).keysmethod publishes the issuer's public key set (kid-indexed) for keyless verification (verifyGrantWithKeys) by serving rooms — no shared secret.Verification
bun test— 11 pass. The key test drives the daemon:resolvemints a grant that verifies against the publishedkeys, and a different audience is rejected (audience-mismatch).guest-room-mirrorcheck passes (bumped to the rev withsignGrant/IssuerKeys).Remaining (next sub-step)
The serving-room verify step in each door daemon (door-net / door-scout / door-keeper): fetch the concierge's
keys,verifyGrantWithKeysbefore honoring a call, thencheckCaveats. Plus the guest-room release + mirror-sync into claude-box.🤖 Generated with Claude Code