Skip to content

Commit

Permalink
fix: update error message
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
  • Loading branch information
JeyJeyGao committed Apr 10, 2024
1 parent 689006e commit 8e98706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/envelope/envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func GetEnvelopeMediaType(sigFormat string) (string, error) {
case COSE:
return cose.MediaTypeEnvelope, nil
}
return "", fmt.Errorf("signature format %q not supported\nPlease use the supported signature envelope format \"jws\" or \"cose\"", sigFormat)
return "", fmt.Errorf("signature format %q not supported\nSupported signature envelope formats are \"jws\" and \"cose\"", sigFormat)
}

// ValidatePayloadContentType validates signature payload's content type.
Expand Down

0 comments on commit 8e98706

Please sign in to comment.