Skip to content

Commit

Permalink
gen, protos: tweak envelope docs (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw authored Apr 24, 2023
1 parent b6d2576 commit 8a3e694
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions gen/pb-go/dsse/envelope.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions gen/pb-python/sigstore_protobuf_specs/io/intoto/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gen/pb-typescript/src/__generated__/envelope.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions protos/envelope.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ message Envelope {
string payloadType = 2;

// Signature over:
// PAE(type, body)
// PAE(type, payload)
// Where PAE is defined as:
// PAE(type, body) = "DSSEv1" + SP + LEN(type) + SP + type + SP + LEN(body) + SP + body
// PAE(type, payload) = "DSSEv1" + SP + LEN(type) + SP + type + SP + LEN(payload) + SP + payload
// + = concatenation
// SP = ASCII space [0x20]
// "DSSEv1" = ASCII [0x44, 0x53, 0x53, 0x45, 0x76, 0x31]
Expand Down

0 comments on commit 8a3e694

Please sign in to comment.