Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

@sudo-bmitch sudo-bmitch commented Aug 2, 2024

Fixes issue

When pulling a pinned manifest, regclient should verify the provided pin and not the headers from the registry.

Describe the change

This prefers the user provided digest for the manifest over the registry header when it is available.

How to verify it

Changelog text

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This prefers the user provided digest for the manifest over the registry header when it is available.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 5f31b05 into regclient:main Aug 2, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-ref-digest branch August 2, 2024 15:49
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