Przeglądaj źródła

add note about unpatched htpasswd related to https://github.com/Kozea/Radicale/issues/1721

Peter Bieringer 11 miesięcy temu
rodzic
commit
8f2099baf8
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      DOCUMENTATION.md

+ 4 - 0
DOCUMENTATION.md

@@ -131,6 +131,10 @@ It can be stored in the same directory as the configuration file.
 The `users` file can be created and managed with
 The `users` file can be created and managed with
 [htpasswd](https://httpd.apache.org/docs/current/programs/htpasswd.html):
 [htpasswd](https://httpd.apache.org/docs/current/programs/htpasswd.html):
 
 
+Note: some OS contain unpatched `htpasswd` (< 2.4.59) without supporting SHA-256 or SHA-512
+(e.g. Ubuntu LTS 22), in this case use '-B' for "bcrypt" hash method or stay with
+insecure MD5 (default) or SHA-1 ('-s').
+
 ```bash
 ```bash
 # Create a new htpasswd file with the user "user1" using SHA-512 as hash method
 # Create a new htpasswd file with the user "user1" using SHA-512 as hash method
 $ htpasswd -5 -c /path/to/users user1
 $ htpasswd -5 -c /path/to/users user1