-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH Issue #3: digest calculation (#13)
Manifest has unique tag, use unique tag to download manifest and then create hash for response content from registry the response from the registry SHOULD exactly be the same content used by the registry to calculate the digest. This way, we do not have different order of attributes, different whitespaces or other stuff that changes the hash. Currently, I do not find another way to make sure that the hash used to reference the manifest in the index is compliant to what the registry calculated.
- Loading branch information
1 parent
3d048a9
commit 7830efa
Showing
3 changed files
with
98 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters