mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
added support for verifying sha256/sha512 passwords hash
this simplifies the migration of users from some proprietary products Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -585,7 +585,9 @@ Supported hash algorithms:
|
||||
- MD5 crypt APR1, prefix `$apr1$`
|
||||
- SHA256 crypt, prefix `$5$`
|
||||
- SHA512 crypt, prefix `$6$`
|
||||
- LDAP MD5, prefix `{MD5}`
|
||||
- MD5 digest, prefix `{MD5}`
|
||||
- SHA256 digest, prefix `{SHA256}`
|
||||
- SHA512 digest, prefix `{SHA512}`
|
||||
|
||||
If you set a password with one of these prefixes it will not be hashed.
|
||||
When users log in, if their passwords are stored with anything other than the preferred algorithm, SFTPGo will automatically upgrade the algorithm to the preferred one.
|
||||
|
||||
Reference in New Issue
Block a user