Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/notation-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This spec contains reference information on using notation commands. Each comman

| Command | Description |
| ------------------------------------------- | ----------------------------------------------------------------------------- |
| [blob](./commandline/blob.md) | Sign, verify and inspect singatures associated with blobs |
| [blob](./commandline/blob.md) | Sign, verify and inspect signatures associated with blobs |
| [certificate](./commandline/certificate.md) | Manage certificates in trust store |
| [inspect](./commandline/inspect.md) | Inspect OCI signatures |
| [key](./commandline/key.md) | Manage keys used for signing |
Expand Down
8 changes: 4 additions & 4 deletions specs/proposals/blob-signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A **blob**, short for [Binary Large Object](https://wikipedia.org/wiki/Binary_la

## Problem Statement & Motivation

Signing container images alone is not enough to secure the software supply chain for containers. In addtion to images, SBOMs, configuration files, release binaries or other artifacts must also be signed and verified to ensure their integrity and authenticity. With the increasing use of AI model files and WebAssembly files, securing these artifacts is equally critical. By adding blob signing, Notation can extend its capabilities to handle a broader range of artifacts across various scenarios, enhancing its versatility while leveraging its existing key management and trust policy framework.
Signing container images alone is not enough to secure the software supply chain for containers. In addition to images, SBOMs, configuration files, release binaries or other artifacts must also be signed and verified to ensure their integrity and authenticity. With the increasing use of AI model files and WebAssembly files, securing these artifacts is equally critical. By adding blob signing, Notation can extend its capabilities to handle a broader range of artifacts across various scenarios, enhancing its versatility while leveraging its existing key management and trust policy framework.

## Scenarios

Expand Down Expand Up @@ -49,7 +49,7 @@ For file-based distribution, such as SBOMs or release artifacts shared via a web
```
This command generates a signature file named `sbom.json.cose.sig` in the same directory as `sbom.json` by default. The file name follows the [Notary Project specification](https://github.com/notaryproject/specifications/blob/main/specs/signature-specification.md#blob-signatures). The signature format is **COSE**, as specified by the `--signature-format` flag. The default format is **JWS**. The `--media-type` flag specifies the **media type** of the blob. In this example, the content of `sbom.json` is in the format `application/spdx+json`. This flag is **optional**. If omitted, the default media type **`application/octet-stream`** is used.

2. Publish both the file and corresponding signature using any file transfering mechanism. Both the file and its signature can be packaged into one file (e.g., a tarball) for transferring.
2. Publish both the file and corresponding signature using any file transferring mechanism. Both the file and its signature can be packaged into one file (e.g., a tarball) for transferring.

3. Download or fetch both the file and signature. If they are packaged into one file, for example, a tarball, unpackage the file to get separate file and signature.

Expand Down Expand Up @@ -94,7 +94,7 @@ For file-based distribution, such as SBOMs or release artifacts shared via a web

### Blob Sign and verify with registry-based distribution

For registry-based distribution, such as using an OCI-compliant container registry, the process is similar but includes additional steps for pushing blobs and sigantures to the registry.
For registry-based distribution, such as using an OCI-compliant container registry, the process is similar but includes additional steps for pushing blobs and signatures to the registry.

**Prerequisites:**
- SBOMs, release artifacts or other files are created and ready for publishing.
Expand Down Expand Up @@ -248,7 +248,7 @@ For registry-based distribution, such as using an OCI-compliant container regist

- Download the blob and signature using ORAS tool:

Follow the previous section to discover blog signatures, and get the digest of the siganture that you want to pull, and use the following command to pull the signature and the blob:
Follow the previous section to discover blob signatures, and get the digest of the signature that you want to pull, and use the following command to pull the signature and the blob:

```shell
oras pull --include-subject myregistry/myapp/sbom@sha256:e8c3567e1f679dfd372ab97635329e404c5182864e29abd96acf852b1ac1ef6b
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Using [Gomega](https://onsi.github.io/gomega/) as the matching library.
- *Test registry*: a test registry started before running tests.
- *Config isolation*: notation needs a few configuration files in user level directory, which can be isolated by modify `XDG_CONFIG_HOME` environment variable. In Notation E2E test framework, a VirtualHost abstraction is designed for isolating user level configuration.
- *Parallelization*: In order to speed up testing, Ginkgo will launch several processes to run e2e test cases.
- *Randomization*: By default, Ginkgo will run specs in a suite in random order. Please make sure the test cases can be runned independently. If the test cases depend on the execution order, consider using [Ordered Containers](https://onsi.github.io/ginkgo/#ordered-containers).
- *Randomization*: By default, Ginkgo will run specs in a suite in random order. Please make sure the test cases can be run independently. If the test cases depend on the execution order, consider using [Ordered Containers](https://onsi.github.io/ginkgo/#ordered-containers).


## Setting up
Expand Down