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

Merge pull request #164 from nyaruka/patch-1

Password hashes must be SHA-1 and in hex
Mike Naberezny преди 12 години
родител
ревизия
3a09667e22
променени са 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.