Verify an envelope + signature against SPOC's signing key
spoc.harness.verifyVerify a passport envelope signature against a specific signing key version by submitting the envelope, hex Ed25519 signature, and key version; returns whether the signature is valid.
Instructions
Server-side verify. Takes a passport envelope (object or its canonical JSON string), the hex signature, and the signing_key_version, and returns whether the signature is valid under that key version.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"envelope": "<envelope>",
"signature": "<signature>",
"signing_key_version": "<signing_key_version>"
},
"name": "spoc.harness.verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | Yes | Envelope object or canonical JSON string. | |
| signature | Yes | Hex-encoded Ed25519 signature. | |
| signing_key_version | Yes |