Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Notation

$ notation Foundation High Risk
Notary Project / CNCF · Cloud & Infra · Apache-2.0 · macos / linux / windows

Notation (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.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install notation
CLI vs MCP Decision CLI Only

Cryptographic signing and trust-policy verification must execute locally via notation with access to local trust stores and KMS plugins.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

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 json on inspect and verify
Trust & Safety 21 / 25

Enforces explicit trustpolicy.json verification rules and digest-based references, though notation sign writes signatures to registries without --dry-run.

  • Strict trustpolicy.json verification model
  • notation sign pushes signature referrers directly
Setup & Portability 14 / 15

Single Go binary via Homebrew and GitHub Releases across macOS, Linux, and Windows.

  • Cross-platform binary via brew install notation
Utility & Efficiency 11 / 15

Industry-standard OCI Referrers signing with AWS/Azure/Vault KMS plugin support and RFC 3161 timestamping.

  • Supports JWS/COSE envelopes and KMS signing plugins
Maintenance & Lineage 9 / 10

CNCF Notary Project (notaryproject/notation) under Apache-2.0.

  • Official CNCF notaryproject/notation repository
Docs & Verifiability 8 / 10

Detailed CLI reference and trust-policy guides at notaryproject.dev.

  • Published CLI reference at notaryproject.dev

Security, Auth & Guardrails

Auth Modes
No Auth Config File OS Keychain
Credential Storage

Stores trust stores, trust policies (trustpolicy.json), and signing key references under ~/.config/notation/, plus OCI auth in ~/.docker/config.json.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Open-source CNCF Incubating project (Apache-2.0); external KMS/TSA services may incur provider fees.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Verify an OCI image signature against trust policy
notation verify ghcr.io/org/app@sha256:...

Validates the artifact signature and certificate chain against ~/.config/notation/trustpolicy.json read-only.

Inspect signatures attached to an artifact
notation inspect ghcr.io/org/app@sha256:...

Displays attached JWS/COSE signatures, signer certificates, and user metadata.

Controlled Writes & Previews

Sign an immutable digest using a configured key ID
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.json verification 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 inspect and verify output text trees rather than --output json.
  • ! Requires pre-configured trust stores and trustpolicy.json before notation verify succeeds.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI