add info about pw schemes

Dieser Commit ist enthalten in:
andryyy 2020-11-12 08:52:02 +01:00
Ursprung 94c9b84719
Commit f1fa9b69aa
2 geänderte Dateien mit 29 neuen und 0 gelöschten Zeilen

28
docs/model-pws.md Normale Datei
Datei anzeigen

@ -0,0 +1,28 @@
# Fully supported hashing methods
The most current mailcow fully supports the following hashing methods.
The default hashing method is written in bold:
- **BLF-CRYPT**
- SSHA256
- SSHA512
The methods above can be used in `mailcow.conf` as `MAILCOW_PASS_SCHEME` value.
## Read-only hashing methods
The following methods are supported **read only**.
- MD5-CRYPT
- PLAIN-MD5
- SHA512-CRYPT
That means mailcow is able to verify users with a hash like `{PLAIN-MD5}1a1dc91c907325c69271ddf0c944bc72` from the database.
The value of `MAILCOW_PASS_SCHEME` will _always_ be used to encrypt new passwords.
---
> I changed the password hashes in the "mailbox" SQL table and cannot login.
A "view" needs to be updated. You can trigger this by restarting sogo-mailcow: `docker-compose restart sogo-mailcow`

Datei anzeigen

@ -43,6 +43,7 @@ nav:
- 'Models':
- 'Sender and receiver model': 'model-sender_rcv.md'
- 'ACL': 'model-acl.md'
- 'Password hashing': 'model-passwd.md'
- 'Debugging & Troubleshooting':
- 'Introduction': debug.md
- 'Logs': 'debug-logs.md'