Skip to main content

honornet-verify

The independent verifier for HonorNet decision records.

When an AI agent transacts on the HonorNet acceptance network, the network records its approve/decline decision in an append-only, cryptographically verifiable log. honornet-verify lets anyone — a merchant, an issuer, an auditor, a regulator — confirm such a decision is genuine and intact:

  • without calling a HonorNet API, and
  • without HonorNet's private source code.

You verify a decision against the maths, not against HonorNet's word for it.

Why this exists

HonorNet's acceptance-network core is private. Its trustworthiness should not be. A decision record is exported as a self-contained bundle; this tool checks the bundle's signatures and its RFC 6962 Merkle inclusion proof. The verification core is standard-library only — no third-party runtime dependencies — so the entire trust path is auditable in an afternoon.

Install

pipx install honornet-verify

or, for use as a library:

pip install honornet-verify

Use

Verify a decision bundle exported from GET /decisions/{decision_id}:

honornet-verify verify decision-bundle.json
  [PASS] record_signature
  [PASS] leaf_hash_match
  [PASS] tree_size_consistency
  [PASS] inclusion_proof
  [PASS] log_root_signature

VERIFIED: decision-bundle.json

Exit code 0 means verified, 1 means well-formed but not verified, 2 means the file could not be read or parsed.

Structured output for scripts and CI:

honornet-verify verify --json decision-bundle.json

Pin the signing key — recommended. Verification alone proves a bundle is internally consistent and signed by the key it carries; pinning proves that key is HonorNet's:

honornet-verify verify --pin-key <honornet-ledger-public-key-hex> decision-bundle.json

What gets checked

A bundle verifies only if all of the following hold:

  1. record signature — the decision record carries a valid Ed25519 signature over its RFC 8785 canonical bytes;
  2. leaf hash — the RFC 6962 Merkle leaf hash matches the signed record;
  3. inclusion proof — the leaf is included under the signed log root;
  4. log root signature — the signed log root carries a valid signature.

See docs/verification-model.md and docs/bundle-format.md.

What this does not grant

honornet-verify is open source under Apache-2.0. Using, reading, or forking it does not grant:

  • any right to use the HonorNet name or marks, except as permitted by the Apache License 2.0, Section 6 (Trademarks);
  • recognized-issuer status on the HonorNet acceptance network;
  • any right to operate the HonorNet acceptance network, or to hold a fork or derivative of this software out as being HonorNet.

A successful verification establishes that a decision bundle is internally consistent and signed by the key embedded in it. It does not by itself establish that the key is HonorNet's — pin the key (--pin-key) to establish that.

Relationship to HonorNet

This is the open-source arm of HonorNet. It is not the production network. The acceptance network that issues decision records is a separate, private system. honornet-verify deliberately imports nothing from it — that independence is enforced by a test in this repo.

Licence

Apache-2.0. See LICENSE and NOTICE.

Metadata

Release files for honornet-verify 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for honornet-verify 1.1.0
File Size Uploaded Provenance Actions
honornet_verify-1.1.0.tar.gz 21.8 kB With provenance Details for honornet_verify-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for honornet-verify 1.1.0
File Interpreter ABI Platform Actions
honornet_verify-1.1.0-py3-none-any.whl Python 3 none any Details for honornet_verify-1.1.0-py3-none-any.whl

Total release size: 39.4 kB

Release files / honornet_verify-1.1.0.tar.gz

Download URL honornet_verify-1.1.0.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
766e0bb4edb873992e9b26de47ffd93acd12525420951c4af053eeae9330f6fd
BLAKE2b-256 checksum
How to use checksums
14c64ac95adc9ea2a9807ddd6a22edc1265b31723b431bbef369ec767bf66f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Release files / honornet_verify-1.1.0-py3-none-any.whl

Download URL honornet_verify-1.1.0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae5b6456db82d716a69561ef9f023678e1c538b156974f084760a1875eb73f5a
BLAKE2b-256 checksum
How to use checksums
ccbcc197fe81dc678b8f9dd8fb2884204d720ac823b3a36f55b60d4aec82ec2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Security for honornet-verify 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for honornet_verify-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page