Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

kminami
Copy link

@kminami kminami commented Sep 22, 2022

When notary-server is protected with Basic authentication (namely returns 401 and WWW-Authenticate: Basic), notary cli fails with no basic auth credentials error for readOnly API accesses. It is because basicHandler is created with anonymous passwordStore in that case.

I fixed this issue with forcing non-anonymous access for basic challenges. It only affects notary-servers that are protected with Basic authentication.

Signed-off-by: Keisuke Minami <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant