Sigstore 1.1.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Sigstore --version 1.1.1
                    
NuGet\Install-Package Sigstore -Version 1.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sigstore" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sigstore" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Sigstore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sigstore --version 1.1.1
                    
#r "nuget: Sigstore, 1.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sigstore@1.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sigstore&version=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Sigstore&version=1.1.1
                    
Install as a Cake Tool

Sigstore

A .NET library for generating and verifying Sigstore signatures.

Overview

Sigstore is a pure .NET implementation of the Sigstore Client Specification. It supports keyless signing and verification using the Sigstore public good instance (Fulcio, Rekor, RFC 3161 TSA) — no external tools required.

Features

  • Keyless signing — ephemeral ECDSA P-256 keys tied to OIDC identities
  • Bundle verification — full Sigstore bundle verification (v0.1, v0.2, v0.3)
  • Certificate validation — hybrid time model per RFC 5280
  • Transparency log — Merkle inclusion proof and checkpoint verification
  • RFC 3161 timestamps — timestamp authority integration
  • DSSE attestations — in-toto statement signing and verification
  • DI-friendly — constructor injection with sensible defaults
  • AOT-compatible — fully trimmer and NativeAOT safe
  • OpenTelemetry-ready — emits native .NET activities and metrics without an exporter dependency

Quick Start

Verification

using Sigstore;

var verifier = new SigstoreVerifier(trustRootProvider);

var policy = new VerificationPolicy
{
    CertificateIdentity = CertificateIdentity.ForGitHubActions(
        owner: "owner",
        repository: "repo")
};

var result = await verifier.VerifyStreamAsync(artifactStream, bundle, policy);

Signing

var signer = new SigstoreSigner(fulcioClient, rekorClient, tsaClient, oidcProvider);

SigstoreBundle bundle = await signer.SignAsync(artifactStream);
string json = bundle.Serialize();

Bundle I/O

SigstoreBundle bundle = SigstoreBundle.Deserialize(json);
string json = bundle.Serialize();

Telemetry

The package emits diagnostics through the built-in System.Diagnostics APIs. Applications choose how to collect and export them; the package does not initialize OpenTelemetry or install an exporter.

services.AddOpenTelemetry()
    .WithTracing(tracing => tracing
        .AddSource(SigstoreTelemetry.ActivitySourceName)
        .AddSource(TufTelemetry.ActivitySourceName))
    .WithMetrics(metrics => metrics
        .AddMeter(SigstoreTelemetry.MeterName)
        .AddMeter(TufTelemetry.MeterName));

The Sigstore activity source emits top-level sigstore.sign, sigstore.attest, and sigstore.verify activities, with child activities for OIDC, Fulcio, Rekor, timestamp, trust-root, certificate, transparency-log, and signature work. Its principal metrics are:

  • sigstore.sign.duration and sigstore.sign.active
  • sigstore.attest.duration and sigstore.attest.active
  • sigstore.verify.duration and sigstore.verify.active

Duration instruments use seconds. Failed operations include the standard error.type attribute. The package does not emit identities, tokens, certificates, signatures, artifact digests, file paths, or service response bodies as telemetry attributes.

Enable the standard .NET HTTP client instrumentation alongside these sources to observe individual network requests without duplicate Sigstore HTTP metrics.

Documentation

📖 Full documentation

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sigstore:

Package Downloads
ActionsToolkit.Attest

This is an unofficial .NET SDK for GitHub Actions workflows (based on @actions/attest).

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Sigstore:

Repository Stars
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
OPCFoundation/UA-EdgeTranslator
An industrial connectivity edge application translating from proprietary protocols to OPC UA leveraging the W3C Web of Things (WoT) thing descriptions.
Version Downloads Last Updated
1.2.0-alpha.169.1.7177570 72 10/9/2026
1.2.0-alpha.158.1.0041eeb 69 9/28/2026
1.2.0-alpha.155.1.1aaecee 64 9/28/2026
1.2.0-alpha.149.1.a0c6700 58 9/28/2026
1.2.0-alpha.140.1.5703f31 68 9/27/2026
1.2.0-alpha.138.1.bbd074f 68 9/27/2026
1.1.1 5,683 10/9/2026
1.1.1-beta.171.1.c0f5ff9 69 10/9/2026
1.1.0 1,000 9/28/2026
1.1.0-beta.159.1.0041eeb 122 9/28/2026
1.1.0-beta.136.1.399a6e9 74 9/27/2026
1.1.0-alpha.135.1.399a6e9 121 8/29/2026
1.1.0-alpha.131.1.fd8696f 173 8/24/2026
1.1.0-alpha.129.1.d458555 88 8/24/2026
1.1.0-alpha.120.1.e78e1a9 83 8/22/2026
1.1.0-alpha.117.1.09281bc 90 8/22/2026
1.1.0-alpha.111.1.15fc60d 90 8/14/2026
1.0.1 2,626 8/24/2026
1.0.1-beta.122.1.7bc133a 142 8/22/2026
1.0.1-beta.112.1.de60e02 87 8/14/2026
Loading failed