notaryproject / notation

A CLI tool to sign and verify artifacts
https://notaryproject.dev/
Apache License 2.0
302 stars 85 forks source link

Using artifactType to identify the signature type while pushing #975

Open MinerYang opened 1 week ago

MinerYang commented 1 week ago

Is your feature request related to a problem?

Would notation consider to wrap the application/vnd.cncf.notary.signature from config.MediaType to artifactType field in the signature manifest to better utilize oci-spec v1.1

What solution do you propose?

What alternatives have you considered?

While notation verify server/registry compatible with oci-spec 1.1 and referrer-api available, render signature manifest with Subject and artifactType fields.

Any additional context?

notaion version

Version:     1.2.0-alpha.1
Go version:  go1.22.4
Git commit:  2f4387276b4a73fb4b81f9499afe0aa156b56218
yizha1 commented 1 week ago

The Notary Project specification work is tracked by issue https://github.com/notaryproject/specifications/issues/295