Verify a signed receipt
verify_attestationVerify an Ed25519-signed Elliot receipt and digest; supply a trusted public key to confirm signer identity, or omit it to check signature validity only.
Instructions
Verify an Ed25519-signed Elliot receipt and its digest. Returns valid=true only when the signature passes and an explicitly supplied public key matches; without one it reports cryptographic validity but marks signer identity untrusted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | ||
| public_key | No | Public key independently trusted by the verifier. Omit to check only mathematical signature validity; valid remains false. |