|
|
|
@ -24,14 +24,14 @@ |
|
|
|
|
* Actions: |
|
|
|
|
* auth.plain ["method": method, "realm": realm, "file": path]; |
|
|
|
|
* - requires authentication using a plaintext file containing user:password pairs seperated by newlines (\n) |
|
|
|
|
* auth.htpasswd ["realm": realm, "file": path]; |
|
|
|
|
* - requires authentication using a plaintext file containing user:encrypted_password pairs seperated by newlines (\n) |
|
|
|
|
* auth.htpasswd ["method": method, "realm": realm, "file": path]; |
|
|
|
|
* - requires authentication using a htpasswd file containing user:encrypted_password pairs seperated by newlines (\n) |
|
|
|
|
* - passwords are encrypted using crypt(3), use the htpasswd binary from apache to manage the file |
|
|
|
|
* + hashes starting with "$apr1$" are NOT supported (htpasswd -m) |
|
|
|
|
* + hashes starting with "{SHA}" ARE supported (followed by sha1_base64(password), htpasswd -s) |
|
|
|
|
* - only supports "basic" method |
|
|
|
|
* auth.htdigest ["method": method, "realm": realm, "file": path]; |
|
|
|
|
* - requires authentication using a plaintext file containing user:realm:hashed_password tuples seperated by newlines (\n) |
|
|
|
|
* - requires authentication using a htdigest file containing user:realm:hashed_password tuples seperated by newlines (\n) |
|
|
|
|
* - passwords are saved as (modified) md5 hashes: |
|
|
|
|
* md5hex(username + ":" + realm + ":" + password) |
|
|
|
|
* |
|
|
|
|