0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

Update HASHING.md

reformat so it might look better in plain text
This commit is contained in:
David Goodwin 2021-05-24 20:56:07 +01:00 committed by GitHub
parent 1a63ee6c5d
commit 8bd608e2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ Supported hash formats include :
* PLAIN-MD5 (aka md5) * PLAIN-MD5 (aka md5)
* CRYPT * CRYPT
Historically PostfixAdmin has supported all dovecot algorithms (methods) by using the 'doveadm' system binary. As of XXXXXXX, we attempt to use a native/PHP implementation for a number of these to remove issues caused by use of proc_open / dovecot file permissions etc (see #379). Historically PostfixAdmin has supported all dovecot algorithms (methods) by using the 'doveadm' system binary. As of XXXXXXX, we attempted to use a native/PHP implementation for a number of these to remove issues caused by use of proc_open / dovecot file permissions etc (see e.g. #379).
It's recommended you use the algorithm/mechanism from your MTA, and configure PostfixAdmin with the same value prefixed by the MTA name - It's recommended you use the algorithm/mechanism from your MTA, and configure PostfixAdmin with the same value prefixed by the MTA name -
@ -47,23 +47,23 @@ For example, if dovecot has `default_pass_scheme = SHA256` use `$CONF['encrypt']
| Dovecot pass scheme | PostfixAdmin `$CONF['encrypt']` setting | | Dovecot pass scheme | PostfixAdmin `$CONF['encrypt']` setting |
|------|------| |---------------------|-----------------------------------------|
| SHA256 | dovecot:SHA256 | | SHA256 | dovecot:SHA256 |
| SHA256-CRYPT.B64 | dovecot:SHA256-CRYPT.B64 | | SHA256-CRYPT.B64 | dovecot:SHA256-CRYPT.B64 |
| SHA256-CRYPT | dovecot:SHA256-CRYPT | | SHA256-CRYPT | dovecot:SHA256-CRYPT |
| SHA512-CRYPT | dovecot:SHA512-CRYPT | | SHA512-CRYPT | dovecot:SHA512-CRYPT |
| ARGON2I | dovecot:ARGON2I | | ARGON2I | dovecot:ARGON2I |
| ARGON2ID | dovecot:ARGON2ID | | ARGON2ID | dovecot:ARGON2ID |
| Courier Example | PostfixAdmin | | Courier Example | PostfixAdmin |
|-------|-------| |-----------------|--------------|
| md5 | courier:md5 | | md5 | courier:md5 |
| md5raw | courier:md5raw | | md5raw | courier:md5raw |
| sha1 | courier:sha1 | | sha1 | courier:sha1 |
| ssha | courier:ssha | | ssha | courier:ssha |
| sha256 | courier:sha256 | | sha256 | courier:sha256 |
### cleartext ### cleartext