Преглед на файлове

Password hashes must be SHA-1 and in hex

I just wasted a surprising amount of time trying to figure out what the right format was for password hashes.  Just these few little clarifications would have helped.
nyaruka преди 12 години
родител
ревизия
d4cd98cc40
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      docs/configuration.rst

+ 6 - 2
docs/configuration.rst

@@ -85,11 +85,13 @@ configuration values are as follows.
 ``password``
 
   The password required for authentication to this HTTP server.  This
-  can be a cleartext password, or can be specified as a SHA hash if
+  can be a cleartext password, or can be specified as a SHA-1 hash if
   prefixed by the string ``{SHA}``.  For example,
   ``{SHA}82ab876d1387bfafe46cc1c8a2ef074eae50cb1d`` is the SHA-stored
   version of the password "thepassword".
 
+  Note that hashed password must be in hex format.
+
   *Default*:  No password required.
 
   *Required*:  No.
@@ -148,11 +150,13 @@ configuration values are as follows.
 ``password``
 
   The password required for authentication to this HTTP server.  This
-  can be a cleartext password, or can be specified as a SHA hash if
+  can be a cleartext password, or can be specified as a SHA-1 hash if
   prefixed by the string ``{SHA}``.  For example,
   ``{SHA}82ab876d1387bfafe46cc1c8a2ef074eae50cb1d`` is the SHA-stored
   version of the password "thepassword".
 
+  Note that hashed password must be in hex format.
+
   *Default*:  No password required.
 
   *Required*:  No.