Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. Code Signing Software
  3. Cosign

Cosign

What it is

Cosign is a free tool for signing and verifying OCI container images and other software artifacts. It can place container signatures in an OCI registry alongside images, and its utilities can publish generic artifacts through OCI. Supported targets include blobs, binaries, scripts, configuration files, SBOMs, WASM modules, Tekton bundles, eBPF modules, and in-toto attestations. The default keyless workflow uses temporary keys held in memory, short-lived Fulcio certificates, and entries in the Rekor transparency log. Other signing options include hardware or KMS-backed keys, encrypted keypairs generated by Cosign, and user-provided PKI. It can verify signatures offline when the image and signature materials are available locally and a trusted root is supplied. Installation guidance covers GitHub Actions and GitLab CI/CD. Cosign is described as a legacy system that remains in use for signing, while Sigstore-go is recommended for verification integrations. Its CLI-focused design has no API stability guarantees, and the documentation does not recommend it for application integration.

For and against

For

  • Free, open-source software.
  • Supports keyless signing with Fulcio and Rekor.
  • Offers hardware, KMS, encrypted-keypair, and PKI options.
  • Supports offline verification with local materials and a trusted root.
  • Includes GitHub Actions and GitLab CI/CD guidance.

Against

  • No API stability guarantees are stated.
  • Not recommended for application integration.
  • Keyless signing may publish identity details in a public log.
  • Uses ECDSA-P256 keys and SHA256 hashes for specified signing modes.

The verdict

Cosign covers signing and verification for containers and a range of other artifact types, with several key-management approaches. Its legacy status and CLI-focused design make its integration limits important to weigh.

Who it suits

Cosign may suit teams signing and verifying software artifacts, including open-source package managers and CI/CD workflows. Its CLI orientation is important for developers considering application-level integration.

Plans and prices

Cosign

Free

No hosted service or usage limits stated

Every plan, in full

On the record

Artifact storage
Container signatures can be stored alongside images in an OCI registry, and Cosign also provides utilities for publishing generic artifacts through OCI.github.com · read 3 Oct 2026
Artifact types
Cosign includes utilities for publishing generic artifacts through OCI and supports in-toto attestations.github.com · read 2 Oct 2026
Attestations
Cosign supports in-toto attestations, with payloads signed using DSSE.github.com · read 3 Oct 2026
CI integrations
The installation documentation describes use in GitHub Actions and GitLab CI/CD pipelines.docs.sigstore.dev · read 3 Oct 2026
Development status
Cosign is described as a legacy system that should still be used for signing, while Sigstore-go is recommended for verification integrations.docs.sigstore.dev · read 2 Oct 2026
Integration limitation
Cosign functions were designed for its CLI rather than as an API; the documentation says there are no API stability guarantees and does not recommend Cosign for application integration.docs.sigstore.dev · read 2 Oct 2026
Intended users
The Sigstore integration guidance identifies open-source package managers as primary stakeholders for artifact signing and verification workflows.docs.sigstore.dev · read 2 Oct 2026
Keyless signing
Its default keyless signing uses the Sigstore public-good Fulcio certificate authority and Rekor transparency log.github.com · read 3 Oct 2026
Key options
Cosign supports hardware and KMS signing, generated encrypted key pairs, and bring-your-own PKI.github.com · read 3 Oct 2026
Notable limit
Cosign generates ECDSA-P256 keys and uses SHA256 hashes for ephemeral keyless and managed-key signing.github.com · read 3 Oct 2026
Offline verification
Cosign can verify locally available images offline when the signature bundle and trusted root are available.github.com · read 3 Oct 2026
Platforms and installation
The project links Linux and macOS release binaries and documents installation through Go, Homebrew, Arch, Alpine, Nix, GitHub Actions, GitLab, and container images.docs.sigstore.dev · read 3 Oct 2026
Public log privacy
The quick start warns that signing may place identity information such as an account email in public transparency logs, where it cannot later be removed.github.com · read 3 Oct 2026
Purpose
Cosign signs and verifies OCI containers and other software artifacts.github.com · read 3 Oct 2026
Registry integrations
The project lists tested registries including AWS ECR, Google Artifact Registry, Docker Hub, Azure Container Registry, GitLab Container Registry, GitHub Container Registry, Harbor, and others.github.com · read 3 Oct 2026
Registry storage
It can sign, verify, and store container signatures in an OCI registry.github.com · read 2 Oct 2026
Security model
For keyless signing, Cosign uses ephemeral keys held in memory, short-lived Fulcio certificates, and Rekor transparency log entries.docs.sigstore.dev · read 3 Oct 2026
Security reporting
Sigstore asks vulnerability reporters to email [email protected] and says the Security Response Committee will acknowledge reports within 24 hours.github.com · read 3 Oct 2026

The review

Overview

Cosign is a free, open-source command-line tool for signing and verifying container images and other software artifacts. It is best suited to open-source package managers and teams running signing workflows from the CLI or CI. The range of key-management choices is a strength, but its legacy status and lack of API stability make it a poor choice for application integrations.

Key features

Cosign’s default keyless workflow uses ephemeral keys held in memory, short-lived certificates from Sigstore’s Fulcio certificate authority, and entries in Rekor’s transparency log. This avoids maintaining a persistent key for that signing path, but signing can put identity information such as an account email in a public log, where it cannot later be removed. Teams should weigh that exposure before adopting keyless signing.

For workflows that need different key custody, Cosign supports hardware and KMS signing, encrypted keypairs it generates, and bring-your-own PKI. Its generated keys are limited to ECDSA-P256, and ephemeral keyless and managed-key signing use SHA256. That makes Cosign less suitable where a workflow requires other algorithms or hashes.

Container signatures can be stored alongside images in an OCI registry, and Cosign can publish generic artifacts through OCI. Supported targets include blobs, binaries, scripts, configuration files, SBOMs, WASM modules, Tekton bundles, eBPF modules, and in-toto attestations. Attestation payloads are signed using DSSE, giving teams a way to cover supply-chain artifacts beyond container images.

The project identifies tested integrations with AWS ECR, Google Artifact Registry, Docker Hub, Azure Container Registry, GitLab Container Registry, and GitHub Container Registry. Installation guidance covers GitHub Actions and GitLab CI/CD. Cosign can verify signatures offline when the image and signature materials are local and a trusted root is supplied, which suits environments that cannot rely on a live service during verification.

Cosign is described as a legacy system that remains in use for signing; Sigstore-go is recommended for verification integrations. Its functions were designed for CLI use, with no API stability guarantees, and the project does not recommend it for application integration. Users can seek help through a GitHub issue or Sigstore Slack. The installation guide also recommends verifying downloaded binaries; releases are signed with keyless signing and an artifact key.

Pricing

Cosign — free is open-source software with no hosted service or usage limits stated. There is no free trial, because the software is free. It has no paid tier or seat quota to weigh, but teams must operate the signing and verification workflow themselves rather than rely on a hosted Cosign service.

Platforms

Cosign supports Linux, macOS, Windows, and self-hosted use. Release binaries are linked for Linux and macOS, while installation guidance also covers Go, Homebrew, Arch, Alpine, Nix, GitHub Actions, GitLab, and container images. The range of installation routes is useful for varied development environments, though it remains a CLI-oriented tool rather than a stable application API.

Who it's for

Cosign is a strong fit for open-source package managers and software teams that need to sign and verify OCI images and related artifacts in CLI or CI workflows. It is less appropriate for developers embedding verification in an application, since the project recommends Sigstore-go for that use and offers no API stability guarantees.

Pros and cons

  • Pro: Keyless signing combines ephemeral in-memory keys, short-lived certificates, and a transparency log, avoiding persistent key management for that path.
  • Pro: Hardware, KMS, encrypted keypair, and bring-your-own-PKI options give teams alternatives when key custody requirements differ.
  • Pro: OCI registry storage, generic artifact publishing, and in-toto attestations extend signing beyond container images.
  • Con: Public transparency entries can expose identity information such as an email address permanently.
  • Con: ECDSA-P256 key generation and SHA256 use constrain workflows that require other cryptographic choices.
  • Con: Legacy status and the CLI-first, non-stable API make it a poor foundation for application integrations.

Alternatives

For a free, open-source reference implementation with API support, consider OpenPubkey. SignPath is another option for eligible open-source code signing, while SignPath Foundation offers a free subscription for actively maintained projects with an OSI-approved license and manual release approval.

SignServer is worth considering for teams seeking community code, document, or container signing with timestamping, with a free plan and trial. AWS Signer may suit teams using supported AWS services or third-party container services, with no additional charge for those uses. Sigstore is a free option for developers and software providers. For paid services, DigiCert Software Trust Manager uses custom pricing, while Keyfactor Platform offers certificate lifecycle automation without per-certificate fees.

Browse more options in Code Signing Software.

Verdict

Choose Cosign if you need free CLI-based signing and verification across containers and other supply-chain artifacts, especially in open-source or CI workflows. Its multiple key strategies and OCI support are compelling; its permanent public-log privacy trade-off and lack of a stable API are the main reasons to choose another tool.

Alternatives to Cosign

Every alternative, ranked