Skip to content

Content hash validation fixes in registry client. (#77) - #973

Merged
jglogan merged 1 commit into
apple:mainfrom
jglogan:security/1.6.0
Oct 19, 2026
Merged

jglogan merged 1 commit into
apple:mainfrom
jglogan:security/1.6.0

Conversation

@jglogan

@jglogan jglogan commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor
  • When calling RegistryClient.resolve() with a pinned hash value, ensure that the caller's hash matches the Docker-Content-Digest header in the HEAD response, or fail the call.
  • Verify content digests in RegistryClient fetch(), fetchData(), and fetchBlob().
  • Updates swift-service-lifecycle dependency from 2.11.0 to 2.12.0.

- When calling `RegistryClient.resolve()` with a
  pinned hash value, ensure that the caller's
  hash matches the `Docker-Content-Digest` header
  in the HEAD response, or fail the call.
- Verify content digests in `RegistryClient`
  `fetch()`, `fetchData()`, and `fetchBlob()`.
@jglogan
jglogan merged commit 836080d into apple:main Oct 19, 2026
7 checks passed
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