Skip to content

Conversation

@mnixry
Copy link
Contributor

@mnixry mnixry commented Dec 31, 2025

This PR updates the htpasswd string example in values.yaml.

The underlying code exclusively supports the bcrypt hashing algorithm:

https://github.com/goharbor/distribution/blob/523791cb5f2b3316a26a44206c2a97d51eb9ef92/registry/auth/htpasswd/htpasswd.go#L32-L49

The previous example was misleading because it used the unsupported APR1 (MD5) algorithm and failed to specify a username. This update corrects the format to include the username and demonstrates the required bcrypt hash.

Updated htpasswdString example to use bcrypt format.

Signed-off-by: HexMix <[email protected]>
@MinerYang MinerYang merged commit 2f514a6 into goharbor:main Jan 12, 2026
4 checks passed
@MinerYang
Copy link
Collaborator

Hi @mnixry ,

Thanks for contributing to our community and the PR get merged.

Best,
Miner

@mnixry mnixry deleted the patch-1 branch January 13, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants