Sigstore Cosign Keyless Signing Cuts Supply Chain Overhead

Open Source
Date:December 5, 2026
Topic:
Sigstore Cosign Keyless Signing Cuts Supply Chain Overhead
⏱ 3 min read

Supply chain security tooling has a complexity problem. Teams adopt SBOMs, provenance attestations, and signature verification only to drown in key rotation schedules, HSM costs, and the operational burden of managing long-lived secrets across CI/CD pipelines. Sigstore's Cosign project flips this model with keyless signing: ephemeral certificates bound to OIDC identities instead of persistent private keys. The result is cryptographic proof without the key management tax.

Why Keyless Changes the Economics

Traditional code signing requires generating, storing, rotating, and revoking asymmetric keys. Each key represents a blast radius; compromise means re-signing artifacts, updating trust roots, and auditing every downstream consumer. Cloud KMS solutions reduce but don't eliminate this overhead. They still require IAM policies, audit logging, and cost per operation.

Cosign keyless signing uses Fulcio as a certificate authority and Rekor as a transparency log. When a workload authenticates via OIDC (GitHub Actions, GitLab CI, Google Cloud, AWS IAM), Fulcio issues a short-lived X.509 certificate embedding the identity claims. The private key never leaves the signer's memory. Rekor logs the certificate and signature publicly, providing tamper-evident provenance. No key material persists. No rotation needed. Compromise window shrinks to the certificate lifetime, typically ten minutes.

bash
# Sign a container image keyless via GitHub Actions OIDC
cosign sign --yes registry.example.com/myapp:v1.2.3

# Verify with policy enforcement
cosign verify --certificate-identity-regexp '.*@myorg\.iam\.gserviceaccount\.com' \
  --certificate-oidc-issuer-regexp 'https://accounts\.google\.com' \
  registry.example.com/myapp:v1.2.3
💡
TipEnable keyless in GitHub Actions by adding 'id-token: write' permissions to your workflow. The OIDC token auto-populates; Cosign detects it without configuration.

SBOM Integration Without Extra Steps

An SBOM is only useful if consumers can trust its origin. Cosign attaches SBOMs as signed payloads to the same image digest, using the same keyless identity. The workflow: generate SBOM with Syft, attach with Cosign, verify with policy. All three steps use ephemeral credentials.

bash
# Generate and attach SBOM in one pipeline step
syft registry.example.com/myapp:v1.2.3 -o spdx-json=sbom.spdx.json
cosign attach sbom --sbom sbom.spdx.json registry.example.com/myapp:v1.2.3

# Consumer verifies SBOM provenance
cosign verify-attestation --type spdxjson \
  --certificate-identity-regexp '.*' \
  registry.example.com/myapp:v1.2.3 | jq -r .payload | base64 -d | jq .
"

Keyless signing removes the secret from the supply chain entirely. You can't leak what you never store.

— Dan Lorenc, Sigstore Co-founder

Policy Enforcement at Scale

Verification policies express trust in identities, not keys. A policy admits signatures from 'github.com/myorg/repo@refs/heads/main' or '[email protected]'. When a team member leaves or a repo transfers, no key rotation occurs. The identity claim in the certificate becomes the trust anchor. Policy controllers like Kyverno or Gatekeeper enforce these rules at admission time in Kubernetes.

Trust ModelKey ManagementRevocationAudit
Long-lived keysHSM/KMS rotationRe-sign all artifactsKey access logs
Keyless (OIDC)None (ephemeral)Identity provider controlsTransparency log (Rekor)
⚠️
WarningRekor public log entries are immutable and visible. Do not sign artifacts containing sensitive data in the payload. Use detached signatures for internal-only metadata.

Migration Path for Existing Pipelines

Teams with existing Cosign key pairs can run dual signing during transition. Sign once with the legacy key, once keyless. Verify accepts either. Deprecate the key after consumers update policies. Fulcio supports custom OIDC issuers for on-premises identity providers, enabling keyless in air-gapped environments with a local Fulcio/Rekor deployment.

yaml
# .github/workflows/sign.yml
permissions:
  id-token: write
  contents: read
jobs:
  sign:
    runs-on: ubuntu-latest
    steps:
      - uses: sigstore/cosign-installer@v3
      - name: Sign keyless
        run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ github.sha }}

Start This Week

Pick one non-critical image pipeline. Add 'id-token: write' to the workflow. Replace 'cosign sign --key' with 'cosign sign --yes'. Update the consumer verification step to check certificate identity against your CI provider's issuer URL. Monitor Rekor inclusion latency (typically under 30 seconds). Measure the operational delta: zero key rotation tickets, zero secret scanning alerts for signing keys, zero HSM costs. That's the overhead eliminated.


✦
ℹ️
NoteNext: Explore Sigstore's policy controller for Kubernetes admission-time verification of keyless signatures across clusters.
Share𝕏 Twitterin LinkedInin Whatsapp