mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
password hashing: exposes argon2 options
So the hashing complexity can be changed depending on available memory/CPU resources and business requirements
This commit is contained in:
@@ -92,7 +92,14 @@
|
||||
"post_login_hook": "",
|
||||
"post_login_scope": 0,
|
||||
"check_password_hook": "",
|
||||
"check_password_scope": 0
|
||||
"check_password_scope": 0,
|
||||
"password_hashing": {
|
||||
"argon2_options": {
|
||||
"memory": 65536,
|
||||
"iterations": 1,
|
||||
"parallelism": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"httpd": {
|
||||
"bind_port": 8080,
|
||||
|
||||
Reference in New Issue
Block a user