verify_receipt
Checks a Trust Gate receipt offline to confirm it is unchanged, signed, key-consistent, and post-quantum verified; pin the signer with expected_kid.
Instructions
Verify a Trust Gate receipt from the certificate alone (offline). ok=true means unchanged since signing, signed, kid consistent with the embedded key, and (require_pq default on) at least one post-quantum leg verified; unsigned receipts fail. It does not prove who signed: pass expected_kid to pin the signer's Ed25519 key; a pin counts only when that key's own signature verifies (see signer_pinned). The post-quantum keys in a receipt are not covered by the kid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | ||
| require_pq | No | ||
| expected_kid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |