Skip to content

Add digest-algorithm tests in conformance - #623

Open
tianon wants to merge 1 commit into
opencontainers:mainfrom
tianon-sso:conformance-digest-algorithm
Open

tianon wants to merge 1 commit into
opencontainers:mainfrom
tianon-sso:conformance-digest-algorithm

Conversation

@tianon

@tianon tianon commented Aug 31, 2026

Copy link
Copy Markdown
Member

This was added as an optional query parameter in eadf94b (#543) but not the conformance tests.

Assisted-By: "claude my eyes right out"

This was added as an optional query parameter in eadf94b but not the conformance tests.

Assisted-By: "claude my eyes right out"
Signed-off-by: Tianon Gravi <tianon.gravi@docker.com>
rchincha pushed a commit to project-zot/zot that referenced this pull request Oct 27, 2026
- Validate optional digest-algorithm on CreateBlobUpload (reject unknown algos)
- Reject monolithic POST when digest and digest-algorithm disagree
- Cover post+put, chunked, and stream flows; send the hint from image-utils

Clients use this hint when starting non-sha256 chunked/stream uploads before
the finishing PUT carries the full digest (OCI distribution-spec end-4c).

Refs:
- opencontainers/distribution-spec#543
- opencontainers/distribution-spec#623

Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
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