Skip to main content

runback-verify

Verify the integrity of a Runback audit record — offline, with nothing installed.

pip install runback-verify
runback-verify record.json
from runback_verify import verify_json

result = verify_json(open("record.json").read())
print(result["verdict"])   # "valid" | "unverified" | "invalid"

Zero dependencies, on purpose

This package is separate from runback-sdk because the SDK needs requests and python-ulid to do its job, and an auditor needs neither. Ed25519 verification is implemented here from RFC 8032 in plain Python, so the package installs and runs on a stock interpreter in a locked-down environment.

What the verdicts mean

verdict meaning
valid integrity holds and the signer is a key you pinned
unverified self-consistent, but the origin is unproven
invalid something failed — it is not the record it claims to be

The chain algorithm is public, so anyone can author a self-consistent record from nothing, or edit a real one and re-chain it. Integrity alone proves only internal coherence; provenance is a separate question, answered only by a signature that verifies against a key you pinned out of band.

Exit codes: 0 valid, 1 invalid, 2 unverified.

The format

runback.cassette/v1 is specified at https://runback.dev/spec. The reference implementation is @runback/verify on npm; this package is a port held to the same generated conformance fixture, and where the two disagree the reference is authoritative.

Metadata

Release files for runback-verify 2.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 runback-verify 2.1.0
File Size Uploaded Provenance Actions
runback_verify-2.1.0.tar.gz 13.1 kB With provenance Details for runback_verify-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runback-verify 2.1.0
File Interpreter ABI Platform Actions
runback_verify-2.1.0-py3-none-any.whl Python 3 none any Details for runback_verify-2.1.0-py3-none-any.whl

Total release size: 24.6 kB

Release files / runback_verify-2.1.0.tar.gz

Download URL runback_verify-2.1.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fee8e57415358ca6328a491ad9497d569e4ee85ac9942a9f2f313839e8fdddf7
BLAKE2b-256 checksum
How to use checksums
5deb7cfc02f23910f0bae698efd24cb8ba87e55c05be20fa7d6d44a854d35505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Release files / runback_verify-2.1.0-py3-none-any.whl

Download URL runback_verify-2.1.0-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb741c12de616cc3fd3ffc7146da75696bbea2be2225a89704b2f49899e5becc
BLAKE2b-256 checksum
How to use checksums
d0d4c948aa71fc7e6979328a84bd3ad51d697633434d47fbf043c9b3ce7cea17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Security for runback-verify 2.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 runback_verify-2.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 Sep 23, 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

2.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