Failure cases and limits
Verification can fail because:
- the file is not a receipt or a confirmed job snapshot, or its hash does not match the expected digest;
- the network or key epoch cannot be authenticated by your pin and key history;
- the receipt has unknown or duplicate signer IDs, or too few valid signatures within the clock tolerance;
- an inclusion or consistency proof does not match the expected record, root, position, or tree size;
- inclusion is required but the gateway has not published a covering checkpoint or cannot provide the proof; or
- an epoch was retired after compromise and a receipt has no valid proof at the exact checkpoint named in the transition.
Read the error and check the command's exit status. In JSON output for
receipt and bundle verification, also check valid. For bundles, inspect
log_inclusion_verified unless you required it explicitly.
If the CLI could not fetch key history and fell back to a matching pin,
it warns and reports key_history: "unchecked" in JSON. This does not
check whether the pinned keys have been retired.
Success says nothing about log completeness, the accuracy of a shared
wrong time source, or the ownership of a file. A success with
--trust-gateway is only as trustworthy as the gateway's choice of keys.
After a key compromise, re-pin through a channel other than the gateway.