Skip to content

UX: Improve the output for a successful signing #303

@yizha1

Description

@yizha1

Summary

Currently only a digest showed as the output after notation sign successfully executed. What is this digest about, the digest of the signature, signature manifest or image manifest? see example below:

notation sign --key $KEY_NAME $IMAGE
sha256:18adff7f255319415112345671bb41076de4a864eb792c35c20f0f6b4aa4c458

nowadays the digest is actually the digest of image manifest.

User Scenario

As a user, after I sign an image or artifact successfully, I want to know where the signature is stored and what the signature refers to, so that I can make sure the signature refers to a correct image or artifact, make sure sigature is stored properly, and I can CRUD later.

Improvement

Here is one idea of improving the output after a successful signing

notation sign --key $KEY_NAME $IMAGE
Signature is pushed to regsitry xxx.xxx.xxx, and refers to sha256:18adff7f255319415112345671bb41076de4a864eb792c35c20f0f6b4aa4c458

cc @shizhMSFT @dtzar @FeynmanZhou @SteveLasker

Metadata

Metadata

Assignees

Labels

UXUser experience changescliIssue or PR released to Notation CLI

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions