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.
More on Tool Internals and Comparisons
How does Trivy get its vulnerability data, and how do you run it air-gapped?AdvancedWhich scan targets and scanners does Trivy support?IntermediateHow does Falco capture system calls?AdvancedHow does OPA evaluate a Rego policy? Give an example.IntermediateWhat are the ways to deploy OPA, and what are decision logs?AdvancedHow does Vault achieve high availability with integrated storage?Advanced