mrkeyoor.comAsk

sigstore/cosigntested 05 Oct 2026commit e2d25b5

cosign review

Evaluate Cosign when your team can name the identities or keys allowed to sign and maintain the surrounding registry and trust configuration.

  • Install 87 s
  • Build 183 s
100/100tests passed
  • 772 packages
Dev Toolsevaluationupdated 25 Oct 2026
+17stars / 7d

Cosign is Sigstore's CLI for signing and verifying container images, blobs and other OCI artifacts. Its README documents keyless signing through Fulcio and Rekor, encrypted local keypairs, hardware and KMS signing, bring-your-own PKI, and in-toto attestations. Verification needs an explicit decision about which signer or key to trust.

Verdict

Evaluate Cosign when your team can name the identities or keys allowed to sign and maintain the surrounding registry and trust configuration. Our October 5, 2026 run at e2d25b5 recorded successful command exits and package-level test summaries, but did not establish an installed CLI or a working signing deployment. For GHSA-fx35-mq7g-6g98, the documented patched versions are v2.6.5 and v3.1.3. Verify the advisory's command and bundle scope, then test your exact signing, verification and replication path before adoption.

We ran it

Lab card: what happened when we ran cosign
Lab card from our sandbox run
Screenshot of cosign (github.com/sigstore/cosign)
github.com/sigstore/cosign
Install✓ · 87s772 packages
Build✓ · 183s
Tests✓ · 90s100 passed · 0 failed of 100 (go test)
Repo483 files~65,867 lines of source · 4.1 MB · 17 CI workflows · Dockerfile · tests dir

Answers from our run

Does cosign build from source?

Dependencies installed in 87 seconds (772 packages), and the build succeeded in 183 seconds. We cloned commit e2d25b5 into a clean Debian container with 3 CPUs and no project-specific setup.

Do cosign's tests pass?

Yes. The project's own test command finished in 90 seconds and reported 100 passed, 0 failed (go test).

Who should not use cosign?

Teams expecting a valid signature alone to establish that a build is trustworthy.

What are the alternatives to cosign?

Notation, in-toto. Evaluate Cosign when your team can name the identities or keys allowed to sign and maintain the surrounding registry and trust configuration.

Setup3/5The README lists several installation routes and the recorded steps exited 0, but the retained output does not establish an installed CLI. Identity, registry and service configuration remain separate work.
Docs3/5The README explains signing paths, identity flags and registry caveats, but explicitly marks its offline section out of date. Its Go 1.22+ minimum was not verified by this run.
Community3/5The supplied sources show issue discussions, a completed replication fix and a published security response process. They do not establish adoption, support capacity or typical response times.
Maturity3/5The project documents release support and shipped advisory patches, while the supplied record includes compatibility and registry caveats. One stored run does not establish deployment reliability across these paths.

Discussed on

  1. hnSigning Git Commits – Three Ways5 points
  2. hnSigstore, the Swiss army knife of signing and attestation3 points
  3. hnSigstore Cosign signature verifier in 150 lines of C3 points
  4. hnCosigned: K8s admission controller, verify images are signed by SigStore cosign3 points
  5. hnContainer signing: Why not use blockchain?3 points

Who it’s for

Platform and CI teams that can define expected signer identities and OIDC issuers.
Organizations choosing between Sigstore services, local keys, hardware tokens, KMS and their own PKI.
Supply-chain teams that need artifact signatures or attestations and can test their registry and verification policy together.

Who it’s NOT for

Teams expecting a valid signature alone to establish that a build is trustworthy.
Users who cannot accept the public, permanent identity disclosure described in the keyless signing prompt. Consider a different signing path before proceeding.
Air-gapped operators expecting the README's offline section to be a current, complete deployment recipe: it explicitly says it is out of date.
Teams assuming signature replication, deletion or concurrent updates need no registry-specific validation.
Operators using affected legacy JSON blob bundles without addressing GHSA-fx35-mq7g-6g98. The advisory names v2.6.5 and v3.1.3 as patched versions; it does not affect OCI container image verification or modern protobuf bundle verification.

Setup reality

In our recorded run on October 5, 2026, at commit e2d25b54f768bdaa868318651e453b7bbc53c0ce, the install-labelled step exited 0 in 87.371 seconds, the build-labelled step exited 0 in 182.889 seconds, and go test exited 0 in 90.319 seconds. The install tail records downloading Go 1.26.0; the build tail is vet-exit:0. These records do not establish that a Cosign binary was installed or independently exercised.

The parser recorded 100 successful package results, zero failing package results and 30 packages with no test files. Those are package summaries, not 100 individual tests or verified exhaustive unique coverage. The harness reports 363 seconds total, 772 dependencies and a 4.1 MB checkout containing 483 files and approximately 65,867 source lines. Its configuration was 3 CPUs, 8 GB RAM and image golang:1.24-bookworm; the image label does not establish the toolchain actually used.

The README advertises Go 1.22+ for developer installation and lists release binaries and several installation routes. Treat that minimum as a README claim rather than compatibility established by this run. The supplied record contains no installed-binary check, dependency audit or measured signing workload. It does not establish a working OIDC, registry, Fulcio, Rekor, KMS or offline deployment.

Cosign verification starts with the signer you expect

A successful signature check is useful only when it matches the trust decision your pipeline needs. Cosign signs and verifies container images, blobs and attestations. Its README's keyless verification example requires an expected certificate identity and OIDC issuer. With public-key verification, you supply the trusted public key. Neither choice establishes that the authorized signer produced a safe build.

The README describes default keyless signing through OIDC authentication, a Fulcio certificate and Rekor transparency logging. It also documents encrypted local keypairs, hardware tokens, KMS and bring-your-own PKI. Choose a signing path around who controls the identity or key and which services the pipeline can reach. Sign image digests rather than moving tags, as the README recommends.

What our October 5 run establishes

Our recorded run used commit e2d25b54f768bdaa868318651e453b7bbc53c0ce on October 5, 2026. The configured sandbox had 3 CPUs, 8 GB RAM and the image label golang:1.24-bookworm.

The install-labelled step exited 0 after 87.371 seconds. Its retained output says it was downloading Go 1.26.0 for linux/amd64. This establishes a toolchain download in the recorded output, not that the CLI was installed. The build-labelled step exited 0 after 182.889 seconds, but its retained tail is only vet-exit:0. Without the full command or an executable check, that is insufficient evidence of a usable compiled binary.

The go test step exited 0 after 90.319 seconds. The parser recorded 100 successful package results, zero failing package results and 30 packages with no test files. These are package-level summaries. They do not establish 100 individual passing tests, exhaustive unique coverage or that every integration path ran. No new execution or complete-log reconciliation was performed for this review.

The harness reports 363 seconds overall. It records 772 dependencies, 483 repository files, approximately 65,867 source lines, a 4.1 MB checkout, 17 CI workflow files, a Dockerfile and a tests directory. Dependency count does not establish how many packages were downloaded, installed or audited. No dependency audit is supplied.

The record contains no installed-binary check or measured signing workload. It does not establish successful OIDC authentication, public Sigstore service access, registry pushes, KMS operation, admission enforcement or offline verification. Use these results to assess the recorded repository checks, then validate your deployment separately.

The legacy-bundle advisory has a specific scope

GHSA-fx35-mq7g-6g98, published August 6, 2026, affects cosign verify-blob and cosign verify-blob-attestation with legacy JSON bundles. A bare public key in the bundle's certificate field could bypass certificate identity and issuer enforcement. It could also override an explicitly supplied trusted key.

The advisory lists affected versions through v2.6.4 and v3.1.2, with patches in v2.6.5 and v3.1.3. It explicitly excludes OCI container image verification through cosign verify and cosign verify-attestation, and verification using modern Sigstore protobuf bundles. The v3.1.3 release resolves this advisory; it is not evidence that every earlier container verification workflow was vulnerable.

The README says the project actively supports the most recent release and the last release in the v2 series. Its development section describes Cosign 2.x as stable and directs future major development toward sigstore-go. Check the supported release for your chosen branch rather than treating a historical patch version as a permanent upgrade target.

Identity disclosure and offline trust need an owner

The README's keyless prompt warns that personal information associated with the signing account, including an email address, may be stored permanently in public transparency logs and cannot be removed later. Decide which organizational identity should sign before accepting that prompt.

The README labels its air-gapped verification section out of date. It says public-good verification needs a trusted root retrieved from the production TUF repository and a mechanism to keep the isolated copy current. It also says cosign save requires a network connection. Treat the section as an explanation of dependencies, then validate the transfer, bundle format and trusted-root refresh process for your environment.

For source setup, the README advertises Go 1.22+ and provides developer installation instructions. Our run's Go 1.26.0 download does not verify that advertised minimum. Release binaries and the listed package-manager, GitHub Action, Kubernetes and container-image routes provide other installation options; none was independently checked in this run.

Registry findings need version and status labels

The README's registry caveats describe signature objects with weak references, nonautomatic copying and read-append-write updates that can lose concurrent changes. These are documented caveats, not observations from our run or proof that every current storage format behaves identically. Test deletion, replication and concurrent signing with the format and registry you intend to use.

Issue 5030 reports a v3.1.2 failure when cosign save is followed by cosign load into a destination missing a v3 bundle layer blob. The reported error is BLOB_UPLOAD_UNKNOWN. The issue was closed as completed through PR 5031 on September 14, 2026. That closure supersedes a description of the fix as merely awaiting review, but the supplied extract does not identify the first released version containing it. Our run did not reproduce or verify this replication workflow.

Issue 2596 remains open in the supplied extract. It reports a historical CycloneDX shorthand mismatch between https://cyclonedx.org/schema and https://cyclonedx.org/bom, including Cosign 1.13.1 and then-current development toward v2. An August 2026 comment proposes a compatibility change; it does not establish an implemented fix. Keep fixtures from older signers when testing upgrades, and check the predicate URI actually present in each attestation.

Choosing the tool and the next check

Notation is another OCI signing CLI and implements Notary Project specifications. Evaluate it when those specifications are your requirement. in-toto verifies an owner-defined sequence of supply-chain steps using layouts and signed link metadata. That can complement Cosign when artifact signatures alone do not describe the workflow you need to authorize.

For a Cosign evaluation, start with one image digest, one intended signer and one expected issuer or trusted key. Confirm that your policy accepts the intended signature and rejects a different signer. Then exercise replication and offline verification if your deployment requires them. These are recommended next checks, not tests performed for this review.

How the ratings work

Scores are editorial assessments of the supplied evidence, not security grades or adoption measurements. On this five-point rubric, 1 means substantial documented barriers, 2 means limited evidence or unresolved setup questions, 3 means a documented path with material caveats, 4 means strong support for the assessed dimension with bounded gaps, and 5 requires broad corroboration beyond a README and one stored run. Unknown adoption or compatibility cannot earn a high score. Community assesses visible support mechanisms and maintenance responses, not community size.

Alternatives

ProjectWhat it isPick it when
NotationA CLI implementing Notary Project specifications for signing and verifying signatures in the OCI registry ecosystem.Choose it for an OCI signing workflow that must implement Notary Project specifications. Its supplied README supports that role, but does not establish a performance or security advantage over Cosign.
in-totoA framework that verifies supply-chain steps against an owner-signed layout and signed step metadata.Evaluate it when you need to define authorized functionaries and verify a sequence of supply-chain steps. It addresses a broader workflow question and can complement artifact signing rather than replace an OCI signing CLI directly.

What people are saying

  1. [github-trending] sigstore/cosign

Sources

  1. Cosign repository and README
  2. Cosign v3.1.3 release
  3. v3 bundle cross-registry load issue
  4. CycloneDX attestation compatibility issue
  5. Sigstore security advisory GHSA-fx35-mq7g-6g98
  6. Sigstore security process

More dev tools reviews