1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

htpasswd passwords should use bcrypt hashing (#3401)

This commit is contained in:
Pieter Scheffers 2017-06-23 00:59:24 +02:00 committed by Misty Stanley-Jones
parent c60e7107fa
commit 55aec8a4f7

@ -154,7 +154,7 @@ EOF
Now create a password file for "testuser" and "testpassword" Now create a password file for "testuser" and "testpassword"
``` ```
docker run --rm --entrypoint htpasswd registry:2 -bn testuser testpassword > auth/nginx.htpasswd docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd
``` ```
Copy over your certificate files Copy over your certificate files