Skip to main content Switch to mobile version totum-verify 0.2.2 Hermetic public-chain and Ed25519 receipt verifier for the Totum audit ledger.
pip install totum-verify Copy PIP instructions
Independent, zero-internal-dependency cryptographic verifier for Totum audit chains and AI action receipts.
Re-verifies every SHA-256 hash link, metadata-bound transaction ID, and Ed25519 signature locally on your machine using only the Python standard library and cryptography. Read the entire single-file verifier (src/totum_verify/_verifier.py) before running it.
pip install totum-verify Or directly from this public repository today:
pip install git+https://github.com/Totum-Run-LLC/totum-verify.git Or run the verifier with zero installation beyond cryptography:
pip install cryptography python3 src/totum_verify/_verifier.py --remote https://totum.run 10-Second Live Verification
Verify every signed Ed25519 checkpoint published by https://totum.run:
totum-verify --remote https://totum.run Example output:
OK · checkpoints-only mode · 5073 checkpoints (last @ 2026-06-10T12:15:52Z, kid=k-84da2bde) What this does:
Fetches /.well-known/atelier_chain_meta.json (chain genesis anchor).
Fetches /.well-known/atelier_chain_keys.json (published Ed25519 public keys keyed by kid).
Fetches /.well-known/atelier_checkpoints.jsonl (signed checkpoints).
Re-canonicalizes every checkpoint payload and verifies every Ed25519 signature locally.
To also inspect a specific chain feed:
Verify an individual Totum transaction receipt (payload_hash, tx_id binding, and Ed25519 signature) against a local public-key file or keys fetched over hardened HTTPS:
# Against a local key file (totum-chain-pubkey.json or atelier_chain_keys.json) totum-verify --receipt receipt.json --keys totum-chain-pubkey.json # Fetching published public keys over pinned HTTPS totum-verify --receipt receipt.json --remote https://totum.run Machine-readable CI output (--json):
totum-verify --receipt receipt.json --keys totum-chain-pubkey.json --json { "ok": true, "tx_id": "4e9a1c02b7f183d0", "kind": "action_receipt", "payload_hash_ok": true, "tx_id_ok": true, "signature_state": "verified", "kid": "k-84da2bde", "errors": [] } Unsigned receipts fail closed by default (exit 1). Pass --allow-unsigned only if you intentionally want to audit payload/ID hashes on legacy unsigned rows.
Verify exported JSONL ledger artifacts completely offline:
totum-verify \ --feed public_feed_recent.jsonl \ --feed public_feed_live.jsonl \ --meta chain_meta.json \ --keys atelier_chain_keys.json \ --checkpoints checkpoints.jsonl Python API
from totum_verify import verify_chain, verify_receipt # Verify a single receipt dict against a public key bundle receipt_result = verify_receipt(receipt_dict, keys_bundle) assert receipt_result["ok"] is True assert receipt_result["signature_state"] == "verified" # Verify a local chain and signed checkpoints chain_result = verify_chain( feed_paths=["public_feed_live.jsonl"], meta_path="chain_meta.json", checkpoints_path="checkpoints.jsonl", keys_path="atelier_chain_keys.json", ) assert chain_result["ok"] is True Cryptographic Specification
Security & Hardening Guarantees
Zero Totum-internal dependencies: Only Python stdlib + cryptography. Enforced by AST tests in CI.
SSRF & DNS-rebinding defense: --remote requires https://, rejects credentials/queries/fragments, resolves DNS and verifies every returned IP is globally routable (blocking loopback, RFC 1918 private, link-local / cloud metadata 169.254.0.0/16, CGNAT, and IPv4-mapped IPv6), and pins the TCP socket to the vetted IP while enforcing hostname TLS/SNI verification.
No redirects, bounded reads, hard deadline: HTTP 3xx responses are refused; per-artifact byte caps (1 MiB meta/keys, 32 MiB checkpoints, 64 MiB chain) and a hard 60-second watchdog prevent slow-drip DoS.
Data-only parsing: Fetched bytes are parsed strictly via json.loads — never executed, imported, or written to disk.
Live proof portal: https://totum.run/transparency/verify
Security policy & vulnerability disclosure: SECURITY.md
Contributing guide: CONTRIBUTING.md
Both files in this release have provenance metadata.
audit chain verifier ed25519 receipt cryptography totum
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Operating System OS Independent
Programming Language Python :: 3
Topic Security :: Cryptography
Release files for totum-verify 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 41.7 kB
Release files / totum_verify-0.2.2.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Release files / totum_verify-0.2.2-py3-none-any.whl
Security for totum-verify 0.2.2
Both files in this release have been uploaded with provenance metadata.
With provenance totum_verify-0.2.2.tar.gz Nov 24, 2026
With provenance totum_verify-0.2.2-py3-none-any.whl Nov 24, 2026
Attestation for totum_verify-0.2.2.tar.gz
Attestation for totum_verify-0.2.2-py3-none-any.whl
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
Nov 24, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




