Skip to content

Commit

Permalink
common: message_digest is not required
Browse files Browse the repository at this point in the history
In most verification flows, this field will never be used.

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Jul 28, 2023
1 parent 629b7aa commit c273b46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protos/sigstore_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ message HashOutput {
// MessageSignature stores the computed signature over a message.
message MessageSignature {
// Message digest can be used to identify the artifact.
// Clients MUST NOT attempt to use this digest to verify the associated
// signature; it is intended solely for identification.
HashOutput message_digest = 1 [(google.api.field_behavior) = REQUIRED];
// The raw bytes as returned from the signature algorithm.
// The signature algorithm (and so the format of the signature bytes)
Expand Down

0 comments on commit c273b46

Please sign in to comment.