Skip to content

Commit

Permalink
docs: add note about bcrypt for htpasswd (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: mbshields <[email protected]>
  • Loading branch information
mbshields authored Jul 13, 2023
1 parent 450a59b commit 7fcb839
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/articles/authn-authz.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
>
> - Authentication
>
> - TLS, including mTLS
> - Username/password or token-based user authentication
> - LDAP
> - TLS, including mTLS
> - Username/password or token-based user authentication
> - LDAP
> - htpasswd
>
> - Authorization
Expand Down Expand Up @@ -152,6 +152,8 @@ configuration file, as shown in the following example.

$ htpasswd -bBn <username> <password> >> /etc/zot/htpasswd

:pencil2: For strong security, make sure to use the -B option, specifying the bcrypt hashing algorithm. This is the only algorithm supported by zot for `htpasswd`.

2. Enable `htpasswd` authentication and configure the path to the
`htpasswd` authentication in the zot configuration file.

Expand Down

0 comments on commit 7fcb839

Please sign in to comment.