diff --git a/internal/envelope/envelope.go b/internal/envelope/envelope.go index 3c95b7c45..4f49ca0f8 100644 --- a/internal/envelope/envelope.go +++ b/internal/envelope/envelope.go @@ -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.