Skip to main content

voltry-evidence-schema

The Voltry evidence bundle: the signed contract behind every Voltry Probe scan and certificate.

Note the naming: the PyPI distribution is voltry-evidence-schema, the Python package you import is evidence_schema.

pip install voltry-evidence-schema
import evidence_schema

What it provides

  • Typed pydantic v2 models (EvidenceBundle and its blocks). The bundle carries measured facts only (there is no modeled-estimate type in this package), no single score anywhere, and no price field.
  • One canonical serializer: RFC 8785 (JCS) over the bundle minus its signature. This is the only path to signable bytes.
  • ECDSA P-384 (secp384r1) with SHA-384 sign and verify over those canonical bytes.
  • A generated JSON Schema for cross-language consumers.

The source build adds optional measured.host_bmc context: Redfish inventory, PSU readings, temperature sensors and fans. Every field is optional. It is host context, separate from GPU condition and facility exposure. An exact serial or UUID match may be recorded; no approximate association is implied. When the block is absent it is omitted from serialization, preserving earlier canonical payloads.

Verifying a bundle

To check a stored bundle as a third party, verify the raw bytes exactly as they were stored. This is the version-stable path: it reproduces the bytes that were signed no matter which schema version signed them, so a bundle signed years ago under an older 1.x still verifies today.

from evidence_schema import verify_bundle_json

raw = open("bundle.json", "rb").read()  # the stored bytes, unmodified
print(verify_bundle_json(raw))  # True only if the signature covers these exact bytes

A True result proves integrity: the bundle is byte-identical to what the holder of the embedded public key signed. It does not prove that key belongs to an authorized signer; binding keys to registered operators is the platform's job, checked against the Voltry registry.

Command line:

# Round-trip demo: build, canonicalize, sign, verify, tamper, verify fails
python -m evidence_schema.demo

# Emit the JSON Schema for non-Python consumers
evidence-schema-jsonschema -o evidence_bundle.schema.json

Stability

The schema is versioned semantically, and a bundle captured today remains valid and verifiable indefinitely: the 1.x field set only ever grows, existing fields never change meaning, and verification runs over the raw stored bytes so later schema versions cannot disturb it. Additive fields are minor versions; anything breaking is a major version with a migration path. Canonical bytes are covered by golden-vector tests in CI on Python 3.10 (the supported floor) and 3.12; the package supports 3.10 through 3.13.

Security

To report a vulnerability, see SECURITY.md.

License

Apache-2.0.

Metadata

Release files for voltry-evidence-schema 2.3.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 voltry-evidence-schema 2.3.0
File Size Uploaded Provenance Actions
voltry_evidence_schema-2.3.0.tar.gz 94.6 kB With provenance Details for voltry_evidence_schema-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for voltry-evidence-schema 2.3.0
File Interpreter ABI Platform Actions
voltry_evidence_schema-2.3.0-py3-none-any.whl Python 3 none any Details for voltry_evidence_schema-2.3.0-py3-none-any.whl

Total release size: 142.0 kB

Release files / voltry_evidence_schema-2.3.0.tar.gz

Download URL voltry_evidence_schema-2.3.0.tar.gz
Size 94.6 kB
Tags Source
SHA-256 checksum
How to use checksums
57260e731724d020215304624a751c944b8e198f6546048b28e411038c985f2c
BLAKE2b-256 checksum
How to use checksums
388914dbff4ea5054d5779fce3aa9dbc57ee96ea9c5ffec510bd59e449b3fdc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 4, 2026.

Transparency log

Release files / voltry_evidence_schema-2.3.0-py3-none-any.whl

Download URL voltry_evidence_schema-2.3.0-py3-none-any.whl
Size 47.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
999fb18a8af61e2780a58e4d420244c09ff8f75540fcd422d5a29b2bd7bc7070
BLAKE2b-256 checksum
How to use checksums
a54287ab50a64e468526fb4858aca51d9be4bdb41e44d6d729a7c8f63a0c437c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 4, 2026.

Transparency log

Security for voltry-evidence-schema 2.3.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 voltry_evidence_schema-2.3.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 Nov 4, 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.

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