Skip to content

fix(source): point to helm registry login when a registry asks for basic auth - #129

Merged
guarnz merged 1 commit into
mainfrom
fix/oci-basic-credential
Nov 12, 2026
Merged

guarnz merged 1 commit into
mainfrom
fix/oci-basic-credential

Conversation

@guarnz

@guarnz guarnz commented Nov 12, 2026

Copy link
Copy Markdown
Owner

What

An OCI registry that asks for a username and password, with no credentials saved for it, now gets the same hint as a 401 or 403: "not found, or private and no credentials (for a private registry, run helm registry login <host>)", followed by the original error.

Why

When the registry answers 401 with WWW-Authenticate: Basic and Helm has nothing for that host, ORAS stops with "basic credential not found". The message has no status code and no "denied" or "unauthorized", so it went out raw, without saying what to check.

Type

  • Bug fix
  • Feature
  • Refactor
  • Build or CI
  • Docs

Checklist

  • Tests pass (go test ./...)
  • Docs updated (README, docs/, or docs/cli via gendocs)
  • No secrets committed

@github-actions github-actions Bot added the bug Something does not work as documented label Nov 12, 2026
@sonarqubecloud

Copy link
Copy Markdown

@guarnz
guarnz merged commit 943be14 into main Nov 12, 2026
13 checks passed
@guarnz
guarnz deleted the fix/oci-basic-credential branch November 12, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something does not work as documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant