sigstore-trust-root
Sigstore trusted root management and parsing for sigstore-rust.
Overview
This crate handles parsing and management of Sigstore trusted root bundles. The trusted root contains all cryptographic trust anchors needed for verification: Fulcio CA certificates, Rekor public keys, CT log keys, and TSA certificates.
Features
- Trusted root parsing: Load and parse
trusted_root.jsonfiles - Embedded roots: Built-in production and staging trust anchors
- TUF support: Optional secure fetching via The Update Framework (requires
tuffeature) - Key extraction: Extract public keys and certificates for verification
- Validity periods: Time-based key and certificate validity checking
Trust Anchors
| Component | Purpose |
|---|---|
| Certificate Authorities | Fulcio CA certificates for signing certificate validation |
| Transparency Logs | Rekor public keys for log entry verification |
| CT Logs | Certificate Transparency log keys for SCT verification |
| Timestamp Authorities | TSA certificates for RFC 3161 timestamp verification |
Usage
use TrustedRoot;
// Use embedded production root
let root = production?;
// Load from file
let root = from_file?;
// With TUF feature: fetch securely
let root = from_tuf.await?;
Cargo Features
tuf- Enable TUF-based secure fetching of trusted roots
Related Crates
Used by:
sigstore-verify- Provides trust anchors for verificationsigstore-sign- Provides service endpoints
License
BSD-3-Clause