Skip to content

[PR #2582/59c8b0f8 backport][2.27] Parse unquoted values in bearer auth challenges - #2590

Merged
gerrod3 merged 1 commit into
pulp:2.27from
gerrod3:patchback/backports/2.27/59c8b0f876a0c132c153056c621c40a0633212aa/pr-2582
Oct 20, 2026
Merged

gerrod3 merged 1 commit into
pulp:2.27from
gerrod3:patchback/backports/2.27/59c8b0f876a0c132c153056c621c40a0633212aa/pr-2582

Conversation

@gerrod3

@gerrod3 gerrod3 commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Note

Posted by an agent on behalf of @gerrod3.

Backport of #2582.

This release predates pull-through signature lookups, so this backport contains the applicable bearer challenge parser change, its unit coverage, and the changelog entry. The signature ping repo_name adjustment from the source PR does not apply to this release's signature endpoint.

Source commit: 59c8b0f876a0c132c153056c621c40a0633212aa.

Registries like gcr.io send 'service=gcr.io' without quotes, which made
json.loads raise and the pull-through signature lookup return a 500. The
signature ping now also passes the repository name so the fallback token
scope is valid.

Generated By: Claude Opus 5.5

(cherry picked from commit 59c8b0f)
@gerrod3
gerrod3 merged commit 3a5c05b into pulp:2.27 Oct 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants