-
Notifications
You must be signed in to change notification settings - Fork 7
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
hocker-config and hocker-layer fail the response integrity check #23
Labels
Comments
ixmatus
added a commit
that referenced
this issue
Dec 1, 2017
This change is being made because the `Docker-Content-Digest` value sent back by docker distribution is a hash digest from the image manifest list when only the image manifest is accepted by the client. This issue on docker distribution tracks the regression: distribution/distribution#2395 Fixes #23 Issue #24 tracks reverting this change when the docker distribution issue is resolved.
ixmatus
added a commit
that referenced
this issue
Dec 1, 2017
* Remove response integrity check of config.json and layer This change is being made because the `Docker-Content-Digest` value sent back by docker distribution is a hash digest from the image manifest list when only the image manifest is accepted by the client. This issue on docker distribution tracks the regression: distribution/distribution#2395 Fixes #23 Issue #24 tracks reverting this change when the docker distribution issue is resolved. * Add the hocker tests data files This fixes a test failure caused by the tests data dir not being included in the cabal source distribution.
ixmatus
added a commit
that referenced
this issue
Feb 11, 2018
In commit 63129b1 I removed the check for the function that fetches layers but did not remove it for the function that fetches a whole image. This change is being made because the `Docker-Content-Digest` value sent back by docker distribution is a hash digest from the image manifest list when only the image manifest is accepted by the client. This issue on docker distribution tracks the regression: distribution/distribution#2395 Fixes #23 Issue #24 tracks reverting this change when the docker distribution issue is resolved. This change also fixes a test failure caused by the tests data dir not being included in the cabal source distribution.
ixmatus
added a commit
that referenced
this issue
Feb 12, 2018
* Remove the response integrity check In commit 63129b1 I removed the check for the function that fetches layers but did not remove it for the function that fetches a whole image. This change is being made because the `Docker-Content-Digest` value sent back by docker distribution is a hash digest from the image manifest list when only the image manifest is accepted by the client. This issue on docker distribution tracks the regression: distribution/distribution#2395 Fixes #23 Issue #24 tracks reverting this change when the docker distribution issue is resolved. This change also fixes a test failure caused by the tests data dir not being included in the cabal source distribution. * Fix the incorrect serialization of the registry URI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hocker-config
andhocker-layer
both check theDocker-Content-Digest
hash to ensure the integrity of the response body. However, because we only accept the image manifest media type this is affected by a regression (#2395) in behavior in which theDocker-Content-Digest
header contains a hash value from the image manifest list even when the image manifest is the only media type the client accepts.For example,
hocker-config
will fail with this error message:The text was updated successfully, but these errors were encountered: