Skip to main content

zeromodel-trust

Artifact trust, authenticity, and deployment-scope authorization kernel for the ZeroModel workspace.

Claims boundary

The supported claim is: ZeroModel can verify the integrity, signature, and declared deployment authorization of an identified artifact under a bounded trust policy.

This package does not claim: secure hardware, remote attestation, PKI deployment, regulatory certification, supply-chain security closure, or tamper-proof storage.

What this checks, as separate decisions

  • Integrity - do the canonical bytes match the declared artifact digest?
  • Authenticity - was the artifact's authorization manifest signed by a key belonging to the declared signer?
  • Trust - is that signer accepted under the active trust policy?
  • Authorization - is this signer permitted to authorize this artifact kind for this deployment scope?
  • Freshness / rollback - is the artifact within its validity window, at an acceptable policy epoch, and not revoked?

Each of these is preserved as its own boolean on TrustDecisionDTO - never collapsed into a single opaque pass/fail.

Cryptography

Ed25519 via the cryptography package (a standard, audited library) - no custom cryptographic primitives. The signature covers a canonical digest of the artifact's authorization manifest (artifact digest, artifact kind, deployment scope, policy epoch, validity window, issuer identity) - never just rendered pixels, a filename, or an embedded checksum string.

Private-key generation/signing helpers in zeromodel.trust.crypto exist for tests and explicit authoring workflows only. Production loading only ever verifies; it never signs, and no private key material is ever written to a fixture, report, or source-controlled file.

Signature-envelope identity

TrustDecisionDTO.signature_envelope_id is a content-derived digest (compute_signature_envelope_id, binding authorization_id, signer_id, signature_hex, key_algorithm, and spec_version) - never the raw signature hex stored under an identity-shaped field name. SignatureEnvelopeDTO.__post_init__ rejects any spec_version other than the current supported one (multi-version verification is not deliberately implemented), so the envelope identity always reflects the version that was actually verified. Signature-envelope revocation (RevocationRecordDTO(target_kind="signature_envelope", ...)) targets this same computed identity, so a decision's recorded evidence and the revocation check that can block it always agree on what "this envelope" means.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

zeromodel_trust-1.2.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file zeromodel_trust-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zeromodel_trust-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7aa21f92633767ebb3d7832bacd0227f60c849ca71bcf8d4ad38361b15b021
MD5 90ed168817bcc4617c0722cfc9805e6d
BLAKE2b-256 5e1d4d15100040d3d1a0f506efc8793d2f69a913d332286205a4b6d2eb5954d0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 file

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