Notation
$ notation Foundation High RiskNotation (notation) is the CNCF Notary Project CLI for cryptographically signing and verifying OCI container images and artifacts using X.509 certificates, KMS plugins, and local trust policies (trustpolicy.json). Verification (notation verify) is read-only, while notation sign pushes OCI signature referrers.
brew install notation Cryptographic signing and trust-policy verification must execute locally via notation with access to local trust stores and KMS plugins.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Predictable non-interactive verification and signing exit codes, but inspect, verify, and list emit human text trees without a native --output json flag.
- Clear exit codes on
notation verify - Lacks
-o json/--output jsononinspectandverify
Enforces explicit trustpolicy.json verification rules and digest-based references, though notation sign writes signatures to registries without --dry-run.
- Strict
trustpolicy.jsonverification model notation signpushes signature referrers directly
Single Go binary via Homebrew and GitHub Releases across macOS, Linux, and Windows.
- Cross-platform binary via
brew install notation
Industry-standard OCI Referrers signing with AWS/Azure/Vault KMS plugin support and RFC 3161 timestamping.
- Supports JWS/COSE envelopes and KMS signing plugins
CNCF Notary Project (notaryproject/notation) under Apache-2.0.
- Official CNCF
notaryproject/notationrepository
Detailed CLI reference and trust-policy guides at notaryproject.dev.
- Published CLI reference at notaryproject.dev
Security, Auth & Guardrails
Stores trust stores, trust policies (trustpolicy.json), and signing key references under ~/.config/notation/, plus OCI auth in ~/.docker/config.json.
Open-source CNCF Incubating project (Apache-2.0); external KMS/TSA services may incur provider fees.
# Notation Agent Rules - Always reference artifacts by immutable `@sha256:...` digest rather than mutable tags when verifying or signing. - Restrict agents to `notation verify`, `inspect`, and `list` unless signing with a CI KMS plugin is explicitly requested.
Agent-Ready Command Recipes
Safe Read-Only Queries
notation verify ghcr.io/org/app@sha256:...
Validates the artifact signature and certificate chain against ~/.config/notation/trustpolicy.json read-only.
notation inspect ghcr.io/org/app@sha256:...
Displays attached JWS/COSE signatures, signer certificates, and user metadata.
Controlled Writes & Previews
notation sign --id prod-signing-key ghcr.io/org/app@sha256:...
Signs the exact @sha256:... digest non-interactively and pushes the signature artifact to the registry.
Strengths for Agents
- + Enforces declarative
trustpolicy.jsonverification before accepting signed OCI artifacts. - + Extensible KMS plugin architecture (AWS Signer, Azure Key Vault, HashiCorp Vault).
- + Native OCI Referrers API support without mutating signed image digests.
Caveats & Pitfalls
- !
notation inspectandverifyoutput text trees rather than--output json. - ! Requires pre-configured trust stores and
trustpolicy.jsonbeforenotation verifysucceeds.