Practical overview
When it fits
Use it when an ML release or integration needs artifact-level signatures and verification of model-file integrity, rather than relying solely on claims from the model trainer.
Who it is for
- ML teams that need to sign model artifacts before distribution.
- Developers integrating model hashing, signing, or verification into ML frameworks, pipelines, or model-hub libraries.
- Model recipients who want to check a signed model for changes after training.
Documented uses
- Sign a model directory using Sigstore, a key, or a certificate.
- Generate model-component hashes and a manifest through the Python API.
- Verify a signature and compare the signed hashes with the current model files.
- Use signing events recorded in Sigstore’s transparency log as part of checking provenance.
Requirements & limits
The project is an open-source repository licensed under Apache-2.0. The documented CLI is a Python tool; Sigstore signing uses an OIDC flow.
- The API currently supports hashing files and file shards; other component types are not listed as supported.
- Verification requires a configured verification method rather than a default configuration.
- Sigstore verification must use the identity and provider used during signing.
- PKCS #11 support requires installing the model-signing package with its pkcs11 extra.
- Private Sigstore setups use a trust configuration containing a signed target trust root and signing configuration for private Rekor, Fulcio, and CT log endpoints.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Sign and verify a model directory with Sigstore
Use the documented CLI flow to sign a model directory and verify it using the same signing identity and provider.
Before you start
- Install the model-signing package or run it from the repository with Hatch.
- A local model directory; the README’s demonstration uses bert-base-uncased.
- An OIDC identity flow for Sigstore signing.
Steps
Prepare the model directory; the documented demonstration clones bert-base-uncased and removes its .git directory.
Run model_signing sign to sign with the default Sigstore method.
Run model_signing verify with the signature file and the identity and identity provider used for signing.
Expected outcome
The verifier checks the signature and compares recalculated model file hashes with the signed values.
Guide limitations
- The identity and provider used for signing must be reused for verification.
- This guide describes the documented flow; it is not a compatibility guarantee or execution test.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 27 November 2026
- Original website title
- sigstore/model-transparency · Official homepage title · retained in its source language

