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

How to sign an index (manifest list) #18

Closed
reasonerjt opened this issue Sep 28, 2020 · 3 comments
Closed

How to sign an index (manifest list) #18

reasonerjt opened this issue Sep 28, 2020 · 3 comments

Comments

@reasonerjt
Copy link

More specifically, when signing an index (manifest list), should all referenced artifacts be signed?

By looking at the doc, in this section:
https://github.com/notaryproject/nv2/blob/prototype-1/docs/distribution/persistance-discovery-options.md#signature-persistence---option-2a-oci-index-signing-a-multi-arch-manifest

multi-arch-signature
It's not very clear to me whether the objects 6~9 are required when signing the multi-arch manifest.
I'm afraid it may generate too many indexes if we require all referenced artifacts are signed when signing an index.

On the other hand, if we only require object 2,3, it will be hard to tell if the artifact is signed, when registry receives a request to pull manifest of one particular manifest, e.g. object 4

@SteveLasker
Copy link
Contributor

Hi @reasonerjt, please see the current approach for using linked artifacts to sign all content: opencontainers/artifacts#29
We've basically realized simply adding a config object to Index was both disruptive and not as scalable as we had hoped. The iterations and experiments have evolved to supporting links to existing artifacts.

@SteveLasker
Copy link
Contributor

@reasonerjt, do we need this as an active issue at this point? Just dong some house cleaning.

@SteveLasker
Copy link
Contributor

Closing as the current signing design will support signing any oci artifact stored in a registry.

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

No branches or pull requests

2 participants