svr-verify
Standalone verifier for Signed Verification Receipts (SVR).
Trust infrastructure for the agent economy. Every agent action should leave a receipt.
No SATYA engine required. No SIGMA dependency. Just the receipt and the public key.
Install
pip install svr-verify
Verify a Receipt
Command Line
svr-verify receipt.svr.json
Output:
============================================================
SVR Verification Report
============================================================
Receipt ID: SATYA-20260518-4C2388CC
SVR Version: 1.0
Receipt Type: compliance
Verdict: contradicted
Items Checked: 12
Items Passed: 7
Items Failed: 5
Signature: VALID
Structure: VALID
RESULT: VALID
============================================================
Machine-Readable Output
svr-verify receipt.svr.json --json
CI/CD Integration
svr-verify receipt.svr.json --quiet
# Prints VALID or INVALID
# Exit code 0 = valid, 1 = invalid, 2 = file error
Python API
from svr_verify import verify
result = verify("receipt.svr.json")
print(result["valid"]) # True/False
print(result["signature_valid"]) # True/False
print(result["structure_errors"]) # [] if clean
Low-Level API
import json
from svr_verify import canonical_bytes, verify_signature, validate_receipt
with open("receipt.svr.json") as f:
receipt = json.load(f)
# Verify Ed25519 signature
sig_ok = verify_signature(receipt)
# Validate structure (required fields, count invariant)
errors = validate_receipt(receipt)
# Get canonical byte sequence (what was signed)
payload = canonical_bytes(receipt)
What It Checks
-
Signature: Recomputes the canonical serialization per SVR Spec Section 4, then verifies the Ed25519 signature against the embedded public key.
-
Structure: Validates all 22 required fields, the count invariant (
items_checked == items_passed + items_failed + items_excluded), per-item required fields, and enum constraints. -
Canonical Hash: Produces a SHA-256 digest of the canonical payload for fingerprinting.
What Is an SVR?
A Signed Verification Receipt is a cryptographically signed, point-in-time attestation that a verification engine audited a specific input against specific sources and produced a specific result.
SVRs are:
- Portable: not locked to any platform
- Signed: Ed25519, unforgeable
- Independently verifiable: anyone with this library can check one
- Vendor-neutral: any compliant engine may issue SVRs
- IANA-registered:
application/vnd.svr.receipt+json(IANA media types)
Specification
License
MIT. Use it anywhere. Embed it in your platform. The whole point is adoption.
Metadata
Release files for svr-verify 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| svr_verify-1.0.3.tar.gz | 19.8 kB | Without provenance | Details for svr_verify-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| svr_verify-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for svr_verify-1.0.3-py3-none-any.whl |
Total release size: 40.5 kB
Release files / svr_verify-1.0.3.tar.gz
| Download URL | svr_verify-1.0.3.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357722ded37833932b8eecba0e056c667d5f7db1d0e5aabdb88fa1c3890d0034
|
|
BLAKE2b-256 checksum How to use checksums |
8e17d779d92b71a6ab2cfabaeab7b815d0feb4a1e693a620807281555a17aa06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / svr_verify-1.0.3-py3-none-any.whl
| Download URL | svr_verify-1.0.3-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eace1fa2dee3e4f2267c098dc2d2f9c1efe68982f1fc129b5819eadc36489bc1
|
|
BLAKE2b-256 checksum How to use checksums |
fbd46cef5df552b3727034bc8c4056aaf96c7fae402230ef4c40214e6926aa46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for svr-verify 1.0.3
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.