Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for user-defined signed attributes #136

Merged
merged 1 commit into from Feb 18, 2022
Merged

Add support for user-defined signed attributes #136

merged 1 commit into from Feb 18, 2022

Conversation

priteshbandi
Copy link
Contributor

This pull request is copy of #133 which got closed because I mistakenly deleted the branch.

Signed-off-by: Pritesh Bandi pritesb@amazon.com

Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
In Notary v2 annotations are being used to store signed attributes.
The annotations key prefix for Notary v2 use is not yet finalized.
See [issues-106](https://github.com/notaryproject/notaryproject/issues/106).
1. Descriptor MAY contain `annotations` and if present it MUST follow the [annotation rules](https://github.com/opencontainers/image-spec/blob/main/annotations.md#rules). Notary v2 uses annotations for storing both Notary specific and user defined signed attributes. The prefix `org.cncf.notary` in annotation keys is reserved for use in Notary v2 and MUST NOT be used outside this specification.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

annotation namespaces is pending, per #106
Suggest we leave this for consistency in this PR and resolve as we finalize 106.

Copy link
Contributor

@SteveLasker SteveLasker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SteveLasker SteveLasker merged commit 656f08a into notaryproject:main Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants