Verification

octet-vault verify checks an archived object end to end: that the vault stored it when it says, that nothing changed it since, and that the proof inside was valid when it was made. It runs on your machine with your recipient key. Octet holds no key that opens a sealed object, so no Octet server can open it. Octet reads a proof only before sealing, while it holds the upload for up to 24 hours (see How It Works).

The steps

  1. Fetch the evidence: the index row, the receipt, the object's event with its inclusion proof, the checkpoint and its timestamps.
  2. Check the receipt against Octet's signing keys and their root certificates. The report labels the result Octet-asserted.
  3. Check the log: the event is in the checkpoint, the checkpoint signatures verify, and its RFC 3161 and OpenTimestamps anchors verify.
  4. Check the sealed object: its SHA-256 matches the receipt, and its header names your licence, environment and recipient key.
  5. Open the object with your recipient key. Decryption fails on any changed byte.
  6. Verify the proof with Octet's proof verifier, octet-verify, which the CLI includes, at the time window below.
  7. Report the verdict and the check that decided it, the window and what supports each of its bounds, and the verifier version.

verify-log runs steps 1 to 3 without your key. It runs step 4 only with --with-blob, which downloads the sealed object. Without it, the blob line reads ABSENT. verify runs all the steps.

The validation window

A proof carries device certificates that expire: Android attestation certificates after about two weeks, and the App Attest certificate of an iOS device after 3 days. Checked against today's date, most archived proofs would fail. verify checks each proof against the window in which it was made instead:

  • Upper bound: the time of the earliest timestamped checkpoint that contains the object's event. The proof existed by then. When the vault names that checkpoint, the report shows it as window-upper-bound.
  • Lower bound: the time at which Octet issued the proof's upload challenge. The proof embeds the challenge, so it was made after that time. This bound comes from Octet's clock.

Android. Each certificate in the key attestation chain is checked at both bounds. A certificate valid at both is valid throughout the window. The window is usually minutes, so a certificate that expires inside it is rare, and such a proof is reported INVALID. verify also checks every certificate against Google's attestation revocation list as it was when the object was sealed. The vault archives that list.

iOS. Most iOS proofs carry an assertion from a key that Apple attested once, at enrolment. verify fetches the enrolment object the proof names, checks it against the log the same way, and checks the App Attest certificate in the enrolment's own window. If the proof names an enrolment that can't be checked, the verdict is INCONCLUSIVE.

How tight the upper bound is. You can't check that the vault named the earliest timestamped checkpoint. You can check how long after the event it was timestamped, and the report does: window-bound-earliest passes within an hour and raises an ALERT beyond it. A late bound can only make a valid proof look invalid, never the reverse.

App identity

A device attestation shows that some key from some app made the proof. To check that the app is yours, pass its identity:

  • Android: --android-app-identity <package name>,<signing certificate SHA-256>. The certificate SHA-256 is 64 hex digits, with or without colons, as keytool or the Play Console prints it. Repeat the flag for each app.
  • iOS: --app-attest-team-id <team ID> and --app-attest-bundle-id <bundle ID>. verify accepts the App Attest environment of your vault by default: production for a release vault, development for a sandbox vault. --app-attest-environment any accepts both.

A VALID result means the proof came from your app. Without the identity for the proof's platform, the app-binding line reads NOT-CHECKED and the result is INCONCLUSIVE. --any-app skips the app check on purpose: app-binding then reads INFO, and the result can be VALID for a proof from any app.

Only what you pass enters this check. Nothing Octet asserts does.

Verdicts and exit codes

Exit code Verdict Meaning
0 VALID No check failed or raised an ALERT, and the proof's signatures and its app identity verified in its window
1 INVALID A check failed
2 ALERT No check failed, and at least one line is an ALERT
3 INCONCLUSIVE No check failed, but the result is not established: no app identity was given, the proof's signatures could not be verified, or its iOS enrolment was not checked
4 verify could not run: a credential, the network, a key file, a wrong key or passphrase, a server error, or input that cannot be read
64 A usage error

Altered evidence is a result, not an error: a changed byte in the sealed object gives FAIL lines and INVALID. A check the CLI could not run reads NOT-CHECKED, and one whose input does not exist yet, such as a pending Bitcoin anchor, reads ABSENT. Neither is a pass. See Check Lines and Exit Codes.

With --json, verdict is the overall result and proof_verdict is the proof verifier's own verdict. proof_verdict can read VALID while a check of the log fails. See JSON output.

Verifying in the browser

The Vaults tab of the Octet portal has an Open and verify page. It runs the CLI's verifier, compiled to WebAssembly, in your browser tab, and gives the same verdict and report lines as the CLI for the same object. Your key file and passphrase stay in the tab. See Export and Verify Offline.

TermsPrivacyCopyright© 2026 Understone, Inc. d/b/a Octet