Proof bundles
A proof bundle carries a signed receipt (signed_attestation) and, if the
receipt is covered by a published checkpoint, a log inclusion proof
(log_inclusion). The inclusion proof contains the signed checkpoint and
the steps needed to check that the exact receipt record is in its tree.
Download a bundle from GET /v1/bundle/{hash}. A valid receipt can be returned
before it appears in a checkpoint. A verifier checks an inclusion proof if
one is present and rejects the bundle if that proof is invalid. If inclusion
is mandatory, use witness verify-proof --require-log-inclusion.
Check the bundle against a public-key file obtained independently of the gateway. Save the signed key history too for offline verification. After a compromise, get a new trusted key file independently: a receipt from the compromised epoch needs inclusion at the exact checkpoint named by the signed key transition.
See the proof format and offline verification.