Skip to content

Notation is a project to add signatures as standard items in the registry ecosystem, and to build a set of simple tooling for signing and verifying these signatures. Based on Notary V2 standard.

License

Notifications You must be signed in to change notification settings

chloeyin/notation

 
 

Repository files navigation

Notation

Go Report Card codecov OpenSSF Scorecard

Notation is a CLI project to add signatures as standard items in the registry ecosystem, and to build a set of simple tooling for signing and verifying these signatures. This should be viewed as similar security to checking git commit signatures, although the signatures are generic and can be used for additional purposes. Notation is an implementation of the Notary v2 specifications.

Table of Contents

Notation Quick Start

  • Install the Notation CLI from Notation Releases:

    curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v0.10.0-alpha.3/notation_0.10.0-alpha.3_linux_amd64.tar.gz
    tar xvzf notation.tar.gz -C ~/bin notation
  • Run a local instance of the CNCF Distribution Registry, with ORAS Artifacts support:

    docker run -d -p 5000:5000 ghcr.io/oras-project/registry:v1.0.0-rc
  • Build, push, sign, verify the net-monitor software:

    export IMAGE=localhost:5000/net-monitor:v1
    docker build -t $IMAGE https://github.com/wabbit-networks/net-monitor.git#main
    docker push $IMAGE
    notation cert generate-test --default --trust "wabbit-networks-dev"
    notation sign --plain-http $IMAGE
    notation list --plain-http $IMAGE
    notation verify --plain-http $IMAGE

Note: Signatures are persisted as ORAS Artifacts manifests.

Documents

Community

Development and Contributing

Notary v2 Community Meeting

  • Mondays 5-6 PM Pacific time, 8-9 PM US Eastern, 8-9 AM Shanghai
  • Thursdays 9-10 AM Pacific time, 12 PM US Eastern, 5 PM UK

Join us at Zoom Dial-in link / Passcode: 77777. Please see the CNCF Calendar for community meeting details. Meeting notes are captured on hackmd.io.

Release Management

The Notation release process is defined in RELEASE_MANAGEMENT.md.

Support

Support for the Notation project is defined in supported releases.

Code of Conduct

This project has adopted the CNCF Code of Conduct. See CODE_OF_CONDUCT.md for further details.

License

This project is covered under the Apache 2.0 license. You can read the license here.

About

Notation is a project to add signatures as standard items in the registry ecosystem, and to build a set of simple tooling for signing and verifying these signatures. Based on Notary V2 standard.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.4%
  • Makefile 1.6%