Interview Prep/DevSecOps/Tool Internals and Comparisons

Cosign vs Notation: how do they differ?

AdvancedConceptTool Internals and Comparisons
Answer

Both sign OCI artifacts and store signatures in the registry. Cosign (Sigstore) favours keyless signing with OIDC identities, Fulcio short-lived certificates and the Rekor transparency log, and is strong for open-source and CI-native workflows.

Notation (CNCF Notary Project) uses traditional X.509 PKI: you bring keys and certificates from a KMS or CA through plugins (AWS Signer, Azure Key Vault), and verification uses a trust policy plus trust store.

notation sign registry.example.com/app@sha256:...
notation verify registry.example.com/app@sha256:...

Enterprises with an existing PKI and compliance requirements often prefer Notation; teams wanting zero key management prefer Cosign keyless. Ratify can verify both at admission.

All DevSecOps questions

More on Tool Internals and Comparisons