| Crates.io | sigstore-tsa |
| lib.rs | sigstore-tsa |
| version | 0.6.0 |
| created_at | 2025-11-27 10:22:47.209216+00 |
| updated_at | 2025-12-17 09:07:54.727565+00 |
| description | RFC 3161 Time-Stamp Protocol client for Sigstore |
| homepage | |
| repository | https://github.com/wolfv/sigstore-rust |
| max_upload_size | |
| id | 1953469 |
| size | 131,323 |
RFC 3161 Time-Stamp Protocol client for sigstore-rust.
This crate implements the Time-Stamp Protocol as specified in RFC 3161. It provides functionality to request timestamps from Time-Stamp Authorities (TSAs) and verify timestamp responses.
Timestamps provide trusted third-party evidence of when a signature was created, which is essential for verifying signatures after the signing certificate has expired.
use sigstore_tsa::TimestampClient;
// Get a timestamp from the Sigstore TSA
let client = TimestampClient::sigstore();
let timestamp_token = client.timestamp_sha256(&digest).await?;
// Or use the convenience function
let token = sigstore_tsa::timestamp_sigstore(&digest).await?;
The crate provides ASN.1/DER types for RFC 3161 structures:
TimeStampReq - Timestamp requestTimeStampResp - Timestamp responseTstInfo - Timestamp token infoAsn1MessageImprint - Hash algorithm and digest (ASN.1 format)Used by:
sigstore-sign - Requests timestamps during signingsigstore-verify - Verifies timestamps in bundlesBSD-3-Clause