You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pulp-cli 0.41 break username password auth in older configs (cert and key present but empty) #1487
The only change i see that this would affect is that the cli would try to use the cert (specified wrongly as the empty string) (and fail) even in 0.39 if not username had been provided, but with 0.41 it actually prefers using that mechanism over basic auth.
I think you should remove the keys from the config.
Thank you for reporting this. The cli now fails on startup (validating the config) so a user just has to take action. Silently failing and hiding the root cause really was not nice.
Activity
mdellweg commentedon Oct 13, 2026
How did the old installation authenticate when nothing is specified?
elelaysh commentedon Oct 13, 2026
I had username/password in the config
(adding to repro steps)
mdellweg commentedon Oct 14, 2026
Can you attach the output of
pulp debug openapi security-schemesand
pulp debug openapi spec | jq '.paths."{auth_user_href}".get.security'mdellweg commentedon Oct 14, 2026
The only change i see that this would affect is that the cli would try to use the cert (specified wrongly as the empty string) (and fail) even in 0.39 if not username had been provided, but with 0.41 it actually prefers using that mechanism over basic auth.
I think you should remove the keys from the config.
elelaysh commentedon Oct 15, 2026
Thank you: I've already removed the empty strings.
Please can you add something to the release notes? Because I think every user with a 0.37-generated config will have the issue.
Validate credentials in config to be non-empty
Validate credentials in config to be non-empty
mdellweg commentedon Oct 15, 2026
Thank you for reporting this. The cli now fails on startup (validating the config) so a user just has to take action. Silently failing and hiding the root cause really was not nice.
elelaysh commentedon Oct 15, 2026
Thank you for the fix :-)
Validate credentials in config to be non-empty
Validate credentials in config to be non-empty