-
Notifications
You must be signed in to change notification settings - Fork 44
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
Subject may be redundant #111
Subject may be redundant #111
Conversation
The |
The extensibility requirement in OCI is for implementations to ignore unknown fields. Which means if there's a need to have more than a key/value pair in an annotation, you could add additional fields to your implementation without breaking other users of the descriptor. |
No concerns given that we can extend the descriptor with other sub key for complex shapes that cannot fit into |
Once we have consensus on the name, let me know and I'll rebase it. |
|
signature-specification.md
Outdated
... | ||
} | ||
} | ||
"notary": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds more like a subject rather than the notary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, the data stored is subjectDescriptor.
Signed-off-by: Brandon Mitchell <[email protected]>
bbf5630
to
71c65dd
Compare
I've adjusted to use "subject" instead of "notary" based on our discussion today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
The subject field seems to be redundant unless we have plans to have other notary fields in the future. This condenses that into a single top level notary field with the payload to be signed.
Signed-off-by: Brandon Mitchell [email protected]