verify

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Command fepublica-verify validates a proof file offline, without requiring access to the Fé Pública server that emitted it.

Usage:

fepublica-verify proof.json

The command performs three checks:

  1. Re-hashes the canonical JSON of the event and compares it to the declared content_hash.
  2. Applies the Merkle inclusion proof to reconstruct the root and compares it to the declared merkle.root.
  3. Prints the OTS receipt metadata. Full cryptographic verification of the Bitcoin anchor is delegated to the reference `ots verify` CLI (install via `pip install opentimestamps-client`), which the user can run against the extracted .ots file printed here.

Exit codes:

0 — all local checks passed
1 — verification failed or file unreadable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL