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

[WIP] v2: verify manifest digest #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steveej
Copy link
Contributor

@steveej steveej commented Apr 26, 2019

This adds conditional manifest digest verification.
If the manifest is download by reference and the registry provides a digest in the response they have to be the same. Additionally the calculated digest of the downloaded manifest has to match the requested one

TODO

  • handle differences in v2s1 and v2s2 when calculating the digest of the downloaded manifest
  • tests

Depends on #105.

@lucab
Copy link
Member

lucab commented Apr 29, 2019

#105 is now merged.

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.

2 participants