| Crates.io | sigstore-bundle |
| lib.rs | sigstore-bundle |
| version | 0.6.0 |
| created_at | 2025-11-27 10:52:04.28616+00 |
| updated_at | 2025-12-17 09:03:45.391696+00 |
| description | Bundle format handling for Sigstore |
| homepage | |
| repository | https://github.com/wolfv/sigstore-rust |
| max_upload_size | |
| id | 1953516 |
| size | 122,454 |
Bundle format handling for sigstore-rust.
This crate handles Sigstore bundle creation, parsing, and validation. A Sigstore bundle is a self-contained package that includes a signature, verification material (certificates or public keys), and transparency log entries.
BundleV03| Version | Media Type | Notes |
|---|---|---|
| 0.1 | application/vnd.dev.sigstore.bundle+json;version=0.1 |
Legacy format |
| 0.2 | application/vnd.dev.sigstore.bundle+json;version=0.2 |
Added DSSE support |
| 0.3 | application/vnd.dev.sigstore.bundle.v0.3+json |
Current format |
use sigstore_bundle::{BundleV03, ValidationOptions};
use sigstore_types::Bundle;
// Parse a bundle
let bundle: Bundle = serde_json::from_str(bundle_json)?;
// Validate structure
let options = ValidationOptions::default();
sigstore_bundle::validate(&bundle, &options)?;
// Build a v0.3 bundle (type-safe: certificate chains not allowed)
let bundle = BundleV03::with_certificate_and_signature(cert_der, signature, artifact_hash)
.with_tlog_entry(entry)
.into_bundle();
Used by:
sigstore-verify - Parses bundles for verificationsigstore-sign - Creates bundles after signingBSD-3-Clause