You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pushing a manifest with a sha512 digest fails #4420
Pushing a manifest by digest should support OCI image-spec registered digest algorithms.
registry version
ghcr.io/distribution/distribution:3.0.0-beta.1 (older registry:2 images also experienced the same issue)
Additional Info
Pushing a single platform image by tag works, but with the registry default sha256 digest. So the error is not from parsing the config and layer digests. Pushing the blobs with a sha512 digest also works with the post/put workflow.
To add more context, we're looking at what is needed to also support chunked blob pushes and tagged manifests with a different digest. opencontainers/distribution-spec#543
Activity
thaJeztah commentedon Jul 25, 2024
I recalled that sha256 was required, but sha512 optional; looking at the original PR, it mentioned MUST implement for sha256 and MAY implement for sha512; https://github.com/opencontainers/image-spec/pull/609
that wording seems to be still there; https://github.com/opencontainers/image-spec/blob/main/descriptor.md#sha-512
For the distribution spec, wording seems to be more ambiguous but referring to the image spec
sudo-bmitch commentedon Jul 25, 2024
To add more context, we're looking at what is needed to also support chunked blob pushes and tagged manifests with a different digest.
opencontainers/distribution-spec#543