Skip to content

signer: Validate pairing restrictions before minting runes - #778

Open
ihordiachenko wants to merge 1 commit into
mainfrom
fix/937-pairing-rune-validation
Open

ihordiachenko wants to merge 1 commit into
mainfrom
fix/937-pairing-rune-validation

Conversation

@ihordiachenko

@ihordiachenko ihordiachenko commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes Greenlight #937.

The attestation client checked pairing restrictions as text, and the signer did not independently enforce that the rune was bound to the approved device's TLS key. A pairing approval could therefore produce a rune that failed to enforce the approved device binding or method restrictions.

The attestation client and signer now share a runeauth validator. It requires a standalone binding to the exact approved device key and validates any method and expiry clauses. The signer mints the rune directly from those validated restrictions.

Require an exact binding to the approved device key. Share the pairing policy with the attestation client and pass the parsed restrictions directly to rune issuance.

This branch has not been deployed

No deployments
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