softquantus-verify
Independently verify QCOS quantum evidence — offline, without trusting SoftQuantus.
Every QCOS Bench report is content-hashed, identity-bound, and signed. This tool recomputes those hashes from the published report and checks the signature, so a regulator, auditor, or hardware vendor can confirm a result is authentic and untampered without contacting SoftQuantus and without the proprietary engine.
That independence is the point: a trust claim you can only check by asking the issuer is not a trust claim. This verifier is open source (MIT); the engine that produces evidence stays proprietary.
Install
pip install softquantus-verify
Only dependency: cryptography.
CLI
# Verify hashes and signature
softquantus-verify report.json --public-key softquantus.pem
# Verify hashes only (no key)
softquantus-verify report.json
# Machine-readable output for CI
softquantus-verify report.json -k softquantus.pem --json
Exit code is 0 when valid, non-zero otherwise — safe to gate a pipeline on.
Library
import json
from softquantus_verify import verify_report
report = json.load(open("report.json"))
result = verify_report(report, public_key=open("softquantus.pem", "rb").read())
print(result.status) # "valid" | "invalid" | "unsigned" | "error"
print(result.content_hash_valid) # recomputed == published
print(result.evidence_hash_valid)
print(result.signature_valid) # True / False / None (no key)
What it checks
content_hash— recomputed from the technical content (results, metrics, versions).evidence_hash— recomputed from the identity-bound content (the value that is signed).- Signature — Ed25519 over the canonical payload
evidence_hash|schema_version|ruleset_family.
The exact rules are documented in ../SPEC.md and are pinned to the
server by fixtures generated from the production code (../fixtures).
License
MIT — see LICENSE.
Metadata
Release files for softquantus-verify 0.1.0
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 |
|---|---|---|---|---|
| softquantus_verify-0.1.0.tar.gz | 7.5 kB | Without provenance | Details for softquantus_verify-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| softquantus_verify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for softquantus_verify-0.1.0-py3-none-any.whl |
Total release size: 16.6 kB
Release files / softquantus_verify-0.1.0.tar.gz
| Download URL | softquantus_verify-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de312e4ecfb6bf12ae8c4cbaa0828dac13dc9160ec31a75719f99d3848623f8
|
|
BLAKE2b-256 checksum How to use checksums |
103b5afdaaebc5b23f2fcdcfba29dbdec832ab608fd128c09d5d358eb3e2446d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / softquantus_verify-0.1.0-py3-none-any.whl
| Download URL | softquantus_verify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39590ca1b404f5ca03fa5c1638060605d69f42d6b7ee308b6cd8b14a031d5f07
|
|
BLAKE2b-256 checksum How to use checksums |
6d2affbeb3b02bd0607801e443501d57ff1c971c773e65b7a5991fc7360bc938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for softquantus-verify 0.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.
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.