KeyAuthorization
Self-verifiable key authorization — the core innovation over rvcas.
The P-256 root key (passkey, in TEE) signs a payload that authorizes a secp256k1 access key to act on behalf of the sigil. Anyone can verify the authorization cryptographically — no server trust required.
The signing happens during a CredentialManager authentication ceremony: the payload hash is embedded in the WebAuthn challenge. The passkey signs authenticatorData || SHA-256(clientDataJSON) which transitively commits to our challenge (the payload hash).
Authorization record = root pubkey + access pubkey + scope + timestamp + WebAuthn signature
Properties
Functions
Builds the authorization payload that will be signed by the passkey.
Hashes the payload for use as the WebAuthn challenge.
Parses a binary payload back into its components.