-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
What is not working as expected?
As a user of Notation CLI, the following command:
notation sign --id $Id --plugin $my_plugin $my_image
could return the following error:
Error: describe-key command failed: VALIDATION_ERROR: {plugin specific error details}
This error message is not very user friendly:
- What does
describe-key commandstand for? - What is been validated here that caused the
VALIDATION_ERROR?
What did you expect to happen?
Move the details into verbose/debug logs and a more user-friendly error message might be:
Error: invalid plugin request: {plugin specific error details}
How can we reproduce it?
notation sign --id $Id --plugin $my_plugin $my_image with a misconfigured id.
The related error message is generated in notation-go/plugin/plugin.go.
Describe your environment
applies to all env
What is the version of your notation-go Library?
notation-go v1.1.0 with notation CLI v1.0.0+
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done