eve-governance — EVE Governance SDK
Offline cryptographic governance verification for EVE AI Core enterprise artifacts. Verify HMAC-SHA256 signed governance artifacts without calling EVE's servers.
Installation
pip install eve-governance
Quick start
from eve_governance import (
verify_decision_certificate,
verify_chain,
verify_iti_snapshot,
health_band,
load_replay_chain,
analyze_replay_chain,
)
# Verify a single CoreGuard decision certificate
result = verify_decision_certificate(cert_dict)
print(f"Valid: {result.valid}")
# Verify a JSONL audit chain
events = load_replay_chain("audit_chain.jsonl")
chain_result = verify_chain(events)
print(f"Chain valid: {chain_result.valid}, gaps: {chain_result.gap_count}")
# Verify an ITI snapshot
iti = verify_iti_snapshot(snapshot_dict)
print(f"Score: {iti.composite_score}, band: {iti.health_band}")
# Health band classification
print(health_band(87.5)) # -> GOOD
CLI
# Verify a replay bundle
eve-gov verify-bundle export.zip
# Verify a decision certificate
eve-gov verify-decision cert.json
# Verify a deployment attestation
eve-gov verify-attestation attestation.json --key-env MY_SIGNING_KEY
# Verify an ITI snapshot
eve-gov verify-iti snapshot.json --json
# Verify a JSONL audit chain
eve-gov verify-chain audit.jsonl
# Human-readable replay summary
eve-gov replay-summary audit.jsonl
Signing
All artifacts use HMAC-SHA256 with this canonical form:
import hmac, hashlib, json
key = os.environ["JWT_SECRET_KEY"].encode()
canonical = json.dumps(payload, sort_keys=True, separators=(",", ":")).encode()
signature = hmac.new(key, canonical, hashlib.sha256).hexdigest()
Environment variables
| Variable | Purpose | Default |
|---|---|---|
JWT_SECRET_KEY |
HMAC signing key (legacy/symmetric artifacts) | none — required (no default key; verify_* raises ValueError if unset and no key is passed) |
Ed25519 decision-evidence verification (
verify_decision_evidence) needs no secret — only the published public key fromGET /.well-known/eve-pubkey.
License
Proprietary — EVE NeuroSystems LLC
Metadata
Release files for eve-governance 0.2.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 |
|---|---|---|---|---|
| eve_governance-0.2.0.tar.gz | 21.9 kB | Without provenance | Details for eve_governance-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eve_governance-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for eve_governance-0.2.0-py3-none-any.whl |
Total release size: 47.1 kB
Release files / eve_governance-0.2.0.tar.gz
| Download URL | eve_governance-0.2.0.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdd2c4ee84101540f562444eff88f011ccb26a8894a277d6908027fbcf0bf91d
|
|
BLAKE2b-256 checksum How to use checksums |
8722f70b3ad85cb7d30da3756c971f56ba5b07f3435dbd37122402fea16d14f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / eve_governance-0.2.0-py3-none-any.whl
| Download URL | eve_governance-0.2.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bba369af58b443f81b97e6deaf8f78d96d92667f62811c3f00470d94d9dd100
|
|
BLAKE2b-256 checksum How to use checksums |
247421683d68c36a0f831d41cdb71c958836196bada655b7058ddac090dce165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for eve-governance 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.