Which fields does the receipt signature cover?

Eleven: alg, encKeyId, inputHash, keyId, outputHash, prevHash, receiptId, timestamp, verdictHash, verdictId and workspaceId. They are signed as JSON with sorted keys, using Ed25519.

Last updated

What each one ties down

What each one ties down
FieldTies the receipt to
inputHashThe input you sent
outputHashThe output that was scored
verdictHashThe public verdict. At schema 1.1.0: the coarse result plus a digest of the named signals. At 1.0.0: the whole stored verdict
verdictId, receiptIdThe ids
workspaceId, prevHashIts place in the workspace chain
timestampWhen it was issued
keyId, algThe signing key and method
encKeyIdThe key used to encrypt the stored copy

Not signed, but checkable

signature itself, and receiptHash, which is the SHA-256 of the signed fields plus the signature. status is not part of the signature.