Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Follow the distribution-spec guidance: opencontainers/distribution-spec#563

Describe the change

Improve fallback tag handling. The fallback tag should handle long digest algorithms, and should not output invalid tag characters.

How to verify it

There shouldn't be any code paths that are able to reach this change (since sha256 and sha512 are the two registered algorithms and were already correctly handled).

Changelog text

  • Feat: Improve fallback tag handling.

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

The fallback tag should handle long digest algorithms, and should not output invalid tag characters.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit ffb12ef into regclient:main Mar 19, 2025
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-fallback-tag branch March 19, 2025 19:13
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.

1 participant