Skip to main content

prooftrail-verify

An independent, offline verifier for ProofTrail evidence packages, written in Python from the protocol specification. It shares no code with the Rust verifier pt-verify, and both must produce identical results on every published test vector.

pip install prooftrail-verify
pt-verify-py case-001.ptpkg.zip --pubkey examiner_pub.pem

It checks the package structure, manifest and certificate signatures, every file digest, exhibit digests, the custody hash chain, event signatures, warrant scope, Merkle roots, inclusion proofs, the ledger chain and timestamp coherence. Exit status: 0 passed, 1 failed, 2 malformed package or usage error. Options: --json, --exhibits-dir DIR, --ledger-checkpoint N:HASH.

It can also be used as a library:

import pt_verify
key = pt_verify.PubKey.from_pem(open("examiner_pub.pem", "rb").read())
report = pt_verify.verify_package("case-001.ptpkg.zip", [key])
print(report["result"], report["exit_code"])

Licensed under MIT or Apache-2.0.

Metadata

Release files for prooftrail-verify 0.2.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 prooftrail-verify 0.2.0
File Size Uploaded Provenance Actions
prooftrail_verify-0.2.0.tar.gz 16.3 kB Without provenance Details for prooftrail_verify-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prooftrail-verify 0.2.0
File Interpreter ABI Platform Actions
prooftrail_verify-0.2.0-py3-none-any.whl Python 3 none any Details for prooftrail_verify-0.2.0-py3-none-any.whl

Total release size: 30.8 kB

Release files / prooftrail_verify-0.2.0.tar.gz

Download URL prooftrail_verify-0.2.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2ae888f9a5047bda26c76634db411fb07deadbfb19d055d56c2f64a886f2a005
BLAKE2b-256 checksum
How to use checksums
39cf51ab962becc8375182701dba379bee8ac63ca399f52b100a906ca7e64390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / prooftrail_verify-0.2.0-py3-none-any.whl

Download URL prooftrail_verify-0.2.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79c4d40328337a2578e444517a5cf6b4c81e5a6c3d52ea7579d99a8c9ad6e588
BLAKE2b-256 checksum
How to use checksums
f1d0765e75826280d0ed0c56531672be1c5eacf86466a74c90461bc4950321e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for prooftrail-verify 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.2.0 This release

2 release files No 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