verify_receipt
Verify a signed TrustGate receipt offline to confirm it is unchanged and its signatures, including post-quantum checks, are valid; optionally pin the expected signer key.
Instructions
Verify a TrustGate 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 |