Audit Proof Format
Audit proof format and verification for Nexus
Esta página aún no está disponible en tu idioma.
The audit service returns inclusion proofs that bind one canonical audit event to a signed batch root. The native verifier CLI can also emit a JSON proof bundle from an archive directory.
Fields
Section titled “Fields”event: canonical audit event as defined by the Audit Event Contract.batch: signed batch metadata, includingbatch_id,tenant_id, sequence range, Merkle root,signer_key_id, and signature.meta_root: archive anchor metadata when the batch has been anchored.event_to_batch: ordered Merkle sibling list from the event leaf to the batch root.batch_to_meta_root: ordered Merkle sibling list from the batch envelope leaf to the meta-root when present.
Verification
Section titled “Verification”- Encode
eventwithvortex_audit_core::encode_event. - Compute
leaf = BLAKE3(0x00 || encoded_event). - Apply
event_to_batchin order using the shared node hash helper. - Compare the result with
batch.merkle_root. - Verify the batch signature using the public key identified by
batch.signer_key_id. - When a meta-root is present, verify the batch envelope path and meta-root signature.
The archive verifier performs these checks offline from the archive objects and public keys available in the archive.
If nexus-audit-verify reports a missing artifact, signature failure, ordering inconsistency, or Merkle mismatch, see Runbook: Audit Verifier Failure.
For copying archive objects to customer-controlled storage, see Audit Archive Export.
