Cosign vs Notary (Notation): Image Signing in 2026
Cosign vs Notary (Notation) head-to-head: keyless Sigstore OIDC signing with Fulcio and Rekor vs x509/PKI certificate signing, registry storage, policy enforcement, and when each wins.
Cosign vs Notary (Notation) is the decision most platform teams reach in 2026 once they commit to signing container images and OCI artifacts to secure the software supply chain. Both are free, open source, sign images and arbitrary OCI artifacts, and store signatures in your registry without mutating the image. The difference is not quality - it is the trust model. Cosign, part of the Sigstore project, leans on keyless OIDC signing with a public transparency log; Notary, via the Notation CLI, leans on x509/PKI certificate trust rooted in your own certificate authority. This guide compares them across trust model, the Sigstore stack, registry storage, policy enforcement, enterprise CA fit, attestations, and speed of adoption, and shows when each wins. If you are assembling the wider open-source supply-chain stack, this pairs with our Trivy vs Grype scanner comparison and our Semgrep vs Snyk SAST roundup.
The short answer
- Use Cosign if you want fast, developer-friendly artifact signing with keyless OIDC identity, a public transparency log, and the broad Sigstore ecosystem for SLSA provenance and in-toto attestations. It is the most widely adopted choice and the simplest to drop into CI.
- Use Notary (Notation) if your organization wants traditional x509/PKI certificate trust rooted in your own certificate authority, with HSM-backed keys and signatures stored natively in the OCI registry. It is the CNCF Notary Project’s Notary v2 implementation.
- Use them together when one set of artifacts needs cloud-native keyless signing and another set must satisfy a regulator or partner that mandates PKI-rooted trust. Policy controllers can verify both kinds of signatures at admission.
- The pragmatic 2026 default is Cosign for most cloud-native CI signing, with Notation added where enterprise CA and PKI alignment is a hard requirement.
Deciding factor to pick
| Your deciding factor | Pick |
|---|---|
| Fast, low-friction signing in CI | Cosign |
| Keyless signing with no private keys to manage | Cosign |
| PKI-rooted trust from your own certificate authority | Notation |
| HSM-backed, CA-issued certificate workflow | Notation |
| Public transparency log of every signing event | Cosign |
| SLSA provenance and in-toto attestations | Cosign |
| Regulator or partner mandates x509 trust chains | Notation |
| Broadest cloud-native ecosystem and adoption | Cosign |
The rule: if you want keyless simplicity and the Sigstore ecosystem, pick Cosign; if you want CA and PKI-rooted trust, pick Notation.
What each tool is
- Cosign (part of the Sigstore project, governed under the OpenSSF / Linux Foundation, open source) signs and verifies container images and OCI artifacts. Its headline feature is keyless signing: you authenticate with an OIDC identity, the Fulcio certificate authority issues a short-lived signing certificate bound to that identity, and the signing event is recorded in the Rekor public transparency log. Cosign also supports traditional key-based signing and KMS/HSM-held keys, and it produces SLSA provenance and in-toto attestations. It integrates with policy controllers for verification at admission.
- Notary / Notation is the CNCF Notary Project. “Notary v2” is the redesign implemented as the Notation CLI and libraries (the older Notary v1 was the TUF-based design behind Docker Content Trust and is now legacy). Notation signs OCI artifacts with x509 certificate-based signatures, storing them alongside the image in the registry via the OCI referrers / ORAS model. It is built to align with enterprise PKI, your own certificate authority, and HSM-backed signing keys.
Cosign vs Notary (Notation): head-to-head
| Dimension | Cosign | Notary (Notation) |
|---|---|---|
| Project / governance | Sigstore (OpenSSF / Linux Foundation) | CNCF Notary Project (Notary v2) |
| Trust model | Keyless OIDC (plus optional keys/KMS) | x509 / PKI certificate-based |
| Identity / CA | Fulcio short-lived certs via OIDC | Your own / enterprise certificate authority |
| Transparency log | Rekor public log | None built in |
| Key management | Keyless, or KMS/HSM | CA-issued certs, HSM-backed keys |
| Signs | Container images and OCI artifacts | Container images and OCI artifacts |
| Signature storage | OCI artifacts in registry (image digest unchanged) | OCI artifacts in registry (image digest unchanged) |
| Attestations | SLSA provenance, in-toto attestations | Signature-focused (no native attestation framework) |
| Enterprise PKI fit | Possible via keys, not the design center | Native - maps to existing CA/PKI |
| Adoption / ecosystem | Very broad, cloud-native default | Growing, strong in PKI-centric enterprises |
| Policy enforcement | Policy controllers / admission | Policy controllers / admission |
| Licence | Open source | Open source |
Trust model. This is the decisive axis. Cosign’s default is keyless: no long-lived private key to protect, rotate, or leak - identity comes from OIDC and certificates from Fulcio. Notation’s model is CA and PKI: signatures chain to certificates issued by a certificate authority you control, which is exactly what many regulated enterprises want.
The Sigstore stack. Cosign’s keyless flow depends on Fulcio (the short-lived certificate authority) and Rekor (the public transparency log that records every signing event for auditability). That transparency log is a genuine differentiator - anyone can verify when and by which identity an artifact was signed. Notation has no equivalent transparency log; trust comes from the certificate chain instead.
Registry storage. Both tools are well-behaved here: neither mutates the image, and both attach signatures as separate OCI artifacts referenced by digest, so the original image digest is unchanged. Both need an OCI-conformant registry. The mechanics are similar; the contents (a Sigstore signature plus Rekor entry vs an x509-backed signature) differ.
Attestations and supply chain. Cosign is embedded in the wider cloud-native supply-chain story - SLSA provenance and in-toto attestations ride on the same tooling, so you can sign not just the image but statements about how it was built. Notation is signature-focused and does not ship an attestation framework, which is fine if signing is all you need.
Enterprise CA fit. Notation is the natural choice when you already run a certificate authority and HSMs and want signing to slot into existing PKI governance and audit trails. Cosign can use KMS/HSM keys too, but its center of gravity is keyless and Sigstore, not your internal CA.
Adoption and ecosystem. Cosign is the de facto cloud-native default in 2026, with the deepest integrations across CI systems, registries, and policy controllers. Notation is growing and is strongest in PKI-centric enterprises and registry vendors that have invested in CA-based signing.
When to choose Cosign
Choose Cosign when:
- You want keyless signing so there is no long-lived private key to manage, rotate, or leak.
- You value a public transparency log (Rekor) recording every signing event for auditability.
- You need SLSA provenance and in-toto attestations, not just signatures, as part of supply-chain hardening.
- You want the broadest cloud-native ecosystem and the simplest path to wire signing into existing CI.
- You are standing up supply-chain security from scratch and want fast adoption with minimal PKI setup.
- You still want the option of key-based or KMS/HSM signing for specific artifacts without changing tools.
Cosign is the pragmatic default for most cloud-native teams because keyless signing removes the hardest part of code signing: key custody.
When to choose Notary (Notation)
Choose Notary (Notation) when:
- Your organization mandates x509/PKI trust rooted in a certificate authority you control.
- You need HSM-backed, CA-issued signing keys to satisfy security or compliance policy.
- A regulator, partner, or customer requires signatures that map to traditional certificate trust chains.
- You want signatures that align with existing enterprise audit and certificate-lifecycle processes.
- You are invested in the CNCF Notary Project roadmap and registry-native, PKI-based signing.
- You do not need a public transparency log and prefer trust anchored entirely in your own CA.
Notation is the better fit for PKI-centric enterprises that want artifact signing to inherit their existing certificate governance rather than adopt a new keyless model.
Can you use them together?
Yes - and in mixed enterprises it is a legitimate pattern, though most teams standardize on one for everyday signing. Because the two anchor trust differently, you can apply each where it fits:
- Sign internal CI artifacts with Cosign keylessly, capturing SLSA provenance and in-toto attestations along the way.
- Sign externally facing or regulated artifacts with Notation, producing x509/CA-rooted signatures that satisfy partners or auditors who mandate PKI trust.
- Verify at admission with a policy controller that can require a Cosign signature, a Notation signature, or both, depending on the workload.
- Pair signing with scanning so only artifacts that are both signed and clean reach production - see our Trivy vs Grype comparison for the vulnerability-scanning layer.
- Maintain two verification policies deliberately, and only where the dual requirement is real, since two trust models add operational overhead.
Running both widens the kinds of trust you can satisfy, at the cost of maintaining two trust models and two policies. For most workloads, one tool - usually Cosign for its keyless simplicity - is enough.
Cost comparison
Both tools are open source and free to use - there are no license fees for Cosign or Notation. The real cost is operational and differs by trust model:
- Cosign keyless is the cheapest to operate: no key custody, no certificate authority to run. You can rely on the Sigstore public good infrastructure (Fulcio and Rekor) or self-host those services for control, which adds running cost but removes external dependencies.
- Notation carries the cost of PKI: running or integrating a certificate authority, managing certificate lifecycles, and provisioning HSMs for key protection. That is real spend, but it is spend many regulated enterprises already carry.
- Cosign key-based / KMS sits in between - no CA to run, but you do pay for and manage KMS or HSM keys.
So the honest framing is not license cost but trust-model cost: keyless removes key and CA overhead, while PKI buys you CA-rooted trust at the price of running PKI.
Common pitfalls
- Assuming Notary v1 and Notary v2 are interchangeable. Notary v1 (Docker Content Trust, TUF-based) is legacy; new work targets Notation. Do not build on the old design.
- Signing without verifying at admission. A signature nobody checks adds no security. Enforce verification with a policy controller in the cluster, not just at build time.
- Treating keyless as keyless trust. Cosign keyless removes private keys, but you still must scope which OIDC identities are allowed to sign - an over-broad policy lets the wrong workload sign.
- Ignoring the transparency log in audits. Teams adopt Cosign but never query Rekor; the public log is part of the value, so build it into verification and incident response.
- Adopting both tools by accident. Running Cosign and Notation without a clear reason doubles your policy and trust-model maintenance. Pick one as default and add the second only for a real dual requirement.
Related reading
- Trivy vs Grype - the two leading open-source container vulnerability scanners, and how to run them together.
- Semgrep vs Snyk - SAST and developer-security platforms compared for code-level supply-chain defense.
Getting help
NomadX DevSecOps runs artifact signing and supply-chain security as fixed-scope sprints: we benchmark Cosign and Notation against your registry, CI, and compliance constraints, then roll out keyless Sigstore signing, PKI-based Notation signing, or both - with SBOMs, attestations, and admission policy so only signed, verified artifacts reach production. If you would rather have this built for you, our Secure CI/CD and Cloud Security engagements wire signing and verification across your pipeline and clusters. Book a free scope call.
Frequently Asked Questions
Cosign vs Notary (Notation): which should I use?
Use Cosign if you want fast, developer-friendly artifact signing with keyless OIDC identity, a public transparency log, and deep cloud-native supply-chain features like SLSA and in-toto attestations - it is the most widely adopted choice and the simplest to wire into CI. Use Notary (the Notation CLI) if your organization wants traditional x509/PKI trust rooted in your own certificate authority and HSM-backed keys, with signatures stored natively in the OCI registry. Both are free, open source, and sign images and OCI artifacts. The trust model is the real fork: keyless and transparency-log (Cosign) versus CA and PKI (Notation).
Is Notary v2 the same as Notation?
Effectively, yes. The Notary Project is the CNCF home for container signing, and 'Notary v2' is the redesign that replaced the older Notary v1 (the TUF-based design behind Docker Content Trust). Notary v2 is implemented as the Notation CLI and supporting libraries. So when people say 'Notary v2' they mean Notation in practice. The original Notary v1 is legacy; new work targets Notation, which signs OCI artifacts using x509 certificates and stores signatures alongside the image in the registry.
Is Notation a good Cosign alternative?
Yes, for organizations that specifically want PKI-rooted trust. Notation is a credible Cosign alternative when you already run an enterprise certificate authority, need HSM-backed signing keys, and want signatures that map cleanly to existing x509 trust chains and audit processes. It is not a like-for-like swap, because Notation does not offer Cosign's keyless OIDC flow or a public transparency log out of the box. Pick Notation when CA and PKI alignment matters most; pick Cosign when keyless simplicity and the broader Sigstore ecosystem matter most.
Does Cosign keyless signing require managing private keys?
No - that is the point of keyless. Instead of generating and protecting a long-lived private key, you authenticate to an OIDC identity provider (a CI workload identity, an SSO account, or similar). Sigstore's Fulcio certificate authority issues a short-lived signing certificate bound to that identity, you sign, and the signing event is recorded in the Rekor transparency log for public auditability. There is no private key to rotate or leak. Cosign also still supports traditional key-based signing and KMS or HSM keys if you prefer to hold your own keys.
Where are Cosign and Notation signatures stored, and do they change the image?
Neither tool mutates the image. Both attach signatures as separate OCI artifacts in the same registry, referenced to the image by digest, so the original image and its digest are unchanged. Cosign stores signatures (and attestations) as registry objects and, in keyless mode, also records the signing event in the public Rekor transparency log. Notation stores its signatures as OCI artifacts attached to the image via the registry, aligned with the OCI referrers and ORAS model. Both approaches need an OCI-conformant registry.
Can you use Cosign and Notary (Notation) together?
Yes, though most teams standardize on one for day-to-day signing. A realistic split is Cosign for fast internal CI signing, SLSA provenance, and in-toto attestations, while Notation produces x509/CA-rooted signatures for artifacts that must satisfy a regulator, partner, or customer who mandates PKI trust. Policy controllers can verify both kinds of signatures at admission, so a Kubernetes cluster can require a Cosign signature, a Notation signature, or both depending on the workload. The cost is two trust models and two verification policies to maintain, so only run both where the dual requirement is real.
Complementary NomadX Services
Related Comparisons
Get Started for Free
We would be happy to speak with you and arrange a free consultation with our DevOps Expert in Dubai, UAE. 30-minute call, actionable results in days.
Talk to an Expert