11 releases (5 breaking)
| new 0.6.4 | Mar 6, 2026 |
|---|---|
| 0.6.1 | Jan 26, 2026 |
| 0.6.0 | Dec 8, 2025 |
| 0.4.0 | Nov 28, 2025 |
#1500 in Filesystem
11,226 downloads per month
Used in 12 crates
(4 directly)
140KB
2.5K
SLoC
sigstore-merkle
RFC 6962 Merkle tree verification for sigstore-rust.
Overview
This crate implements Merkle tree operations as specified in RFC 6962 (Certificate Transparency). It provides inclusion proof verification for transparency logs like Rekor.
Features
- Inclusion proof verification: Verify that an entry exists in a Merkle tree
- Hash chaining: RFC 6962 compliant hash computation for tree nodes
- Proof path validation: Verify proof paths against known root hashes
Usage
use sigstore_merkle::verify_inclusion;
use sigstore_types::Sha256Hash;
// Verify an inclusion proof
verify_inclusion(
leaf_index,
tree_size,
&proof_hashes,
&root_hash,
&leaf_hash,
)?;
Background
Merkle trees in transparency logs allow clients to verify that:
- A specific entry exists in the log (inclusion proof)
- The log is append-only and consistent (consistency proof)
This crate focuses on inclusion proof verification, which is the primary operation needed for Sigstore bundle verification.
Related Crates
Used by:
sigstore-verify- Verifies inclusion proofs in bundlessigstore-bundle- Bundle validation
License
BSD-3-Clause
Dependencies
~71MB
~2M SLoC