Skip to main content

Offline verifier for Primust VPECs. Free forever. No account required.

Project description

primust-verify

Free forever. No account required. Apache-2.0.

Offline verifier for Primust VPECs (Verifiable Process Execution Credentials).

pip install primust-verify

Verify a VPEC

from primust_verify import verify

result = verify(vpec_json)
assert result.valid

Or from the command line:

primust-verify vpec.json

Exit codes:

  • 0 — valid
  • 1 — invalid (signature mismatch, tampered, or failed checks)
  • 2 — system error

Zero-network verification

Use --trust-root to verify without any network calls:

primust-verify vpec.json --trust-root ./primust-pubkey.pem

This fetches no external resources. The public key PEM is the only trust anchor needed.

Download the Primust public key from: https://primust.com/.well-known/primust-pubkey.pem

You don't need a Primust account to verify a VPEC

This tool is free, open source (Apache-2.0), and works offline. Anyone can verify a VPEC — regulators, auditors, counterparties — without creating an account or contacting Primust.

Verification paths

  • primust-verify CLI — canonical local/offline verifier
  • Evidence Pack verify.html — bundled local browser verifier
  • verify.primust.com — hosted convenience verifier

The hosted site is useful for shared links and quick review, but it is not the canonical zero-network / trust-minimized path.

Options

Flag Description
--production Reject VPECs issued with test keys
--skip-network Skip Rekor transparency log check
--trust-root <path> Use a local PEM file as trust anchor (zero-network mode)
--json Output structured JSON instead of human-readable text

Requirements

  • Python 3.11+

License

Apache-2.0


Docs | Verify online | Primust

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primust_verify-1.3.2.tar.gz (164.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

primust_verify-1.3.2-py3-none-any.whl (105.0 kB view details)

Uploaded Python 3

File details

Details for the file primust_verify-1.3.2.tar.gz.

File metadata

  • Download URL: primust_verify-1.3.2.tar.gz
  • Upload date:
  • Size: 164.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for primust_verify-1.3.2.tar.gz
Algorithm Hash digest
SHA256 0a341332e6c4759a03e6f5e5dcc2503d578f8db96f70a811bca4603a86b1df90
MD5 4d8016fd907188f964d32dd246b6db47
BLAKE2b-256 f4aadf7ba58479068e9700a529fe66c74ad2ce38c7ca79b5ae706a2db7e6642a

See more details on using hashes here.

File details

Details for the file primust_verify-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: primust_verify-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 105.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for primust_verify-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 289b430cdc2ba357aef0b1e7cee7e442dd3236c66ec28a038d168afeaa699ce1
MD5 cc1dba4119e870411ec29ee04d9f0d8f
BLAKE2b-256 2d4f764a5de13679aa2bfb9c2e9e20e61771348c6f2c88f2465b30692030a7b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page