-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update payload information in the dsse type Signed-off-by: Appu <[email protected]>
- Loading branch information
1 parent
ad31e90
commit 4e71982
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ title: Sigstore Bundle Format | |
weight: 4 | ||
--- | ||
|
||
Last updated October 31, 2024 | ||
Last updated January 14, 2025 | ||
|
||
Version 0.3.2 | ||
|
||
|
@@ -136,15 +136,13 @@ artifact at verification time. | |
|
||
#### DSSE | ||
|
||
A DSSE envelope can contain arbitrary payloads. Currently Sigstore clients only process the | ||
payload type `"application/vnd.in-toto+json"`. Verifiers must verify that the payload type is a | ||
supported and expected type. DSSE envelopes contained in a Sigstore Bundle must only contain a | ||
single signature (the DSSE spec allows multiple). | ||
The DSSE envelope in a Sigstore Bundle must conform to the [in-toto Envelope layer specification](https://github.com/in-toto/attestation/blob/main/spec/v1/envelope.md) where | ||
Check failure on line 139 in content/en/about/bundle.md GitHub Actions / markdownlintTrailing spaces
|
||
`payloadType` is `"application/vnd.in-toto+json"` and the payload is an [in-toto statement](https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md). DSSE envelopes in a Sigstore Bundle must also contain only a single signature (the DSSE spec allows multiple). | ||
|
||
```json | ||
"dsseEnvelope": { | ||
{ | ||
"payload": "<Base64(JSON_PAYLOAD)>", | ||
"payload": "<Base64(JSON_IN_TOTO_STATEMENT)>", | ||
"payloadType": "application/vnd.in-toto+json", | ||
"signatures": [{ | ||
"keyid": "<KEY_ID>", | ||
|
@@ -154,6 +152,10 @@ single signature (the DSSE spec allows multiple). | |
} | ||
``` | ||
|
||
where `payload` should would decode to | ||
```json | ||
Check failure on line 156 in content/en/about/bundle.md GitHub Actions / markdownlintFenced code blocks should be surrounded by blank lines
|
||
``` | ||
|
||
### Examples | ||
|
||
Here are some example bundles from the Sigstore public infrastructure. | ||
|