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
htpasswd files like generated from apache is not properly supported.
The format is:
test:{SHA}Or7xoUzOzSDWzoksvgQq5tdJRsg=
{SHA} is the hashing algorithmus used, can be MD5, SHA, without, the CRYPT function is used.
htpasswd --help
....
-m Force MD5 encryption of the password (default).
-B Force bcrypt encryption of the password (very secure).
-C Set the computing time used for the bcrypt algorithm
(higher is more secure but slower, default: 5, valid: 4 to 17).
-d Force CRYPT encryption of the password (8 chars max, insecure).
-s Force SHA encryption of the password (insecure).
Currently, the server uses verify() which does not properly detect anything but crypt, rendering the file unsecure.
The text was updated successfully, but these errors were encountered:
I'm using Apache 2.4 with htpasswd -nbB user pass which is generating $2y$05$ which is according to Apache docs bcrypt. I think the issue can be closed.
htpasswd files like generated from apache is not properly supported.
The format is:
{SHA} is the hashing algorithmus used, can be MD5, SHA, without, the CRYPT function is used.
Currently, the server uses
verify()
which does not properly detect anything but crypt, rendering the file unsecure.The text was updated successfully, but these errors were encountered: