mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-10-30 17:47:54 +00:00
Bump CREDENTIAL_ROUNDS to 13
This commit is contained in:
@@ -83,7 +83,7 @@ DEFAULT_CONFIG = {
|
|||||||
'SESSION_TIMEOUT': 3600,
|
'SESSION_TIMEOUT': 3600,
|
||||||
'PERMANENT_SESSION_LIFETIME': 30*24*3600,
|
'PERMANENT_SESSION_LIFETIME': 30*24*3600,
|
||||||
'SESSION_COOKIE_SECURE': None,
|
'SESSION_COOKIE_SECURE': None,
|
||||||
'CREDENTIAL_ROUNDS': 12,
|
'CREDENTIAL_ROUNDS': 13,
|
||||||
'TLS_PERMISSIVE': True,
|
'TLS_PERMISSIVE': True,
|
||||||
'TZ': 'Etc/UTC',
|
'TZ': 'Etc/UTC',
|
||||||
'DEFAULT_SPAM_THRESHOLD': 80,
|
'DEFAULT_SPAM_THRESHOLD': 80,
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ The minimum length is 3 characters.
|
|||||||
This token must be passed as request header to the API as authentication token.
|
This token must be passed as request header to the API as authentication token.
|
||||||
This is a mandatory setting for using the RESTful API.
|
This is a mandatory setting for using the RESTful API.
|
||||||
|
|
||||||
The ``CREDENTIAL_ROUNDS`` (default: 12) setting is the number of rounds used by the
|
The ``CREDENTIAL_ROUNDS`` (default: 13) setting is the number of rounds used by the
|
||||||
password hashing scheme. The number of rounds can be reduced in case faster
|
password hashing scheme. The number of rounds can be reduced in case faster
|
||||||
authentication is needed or increased when additional protection is desired.
|
authentication is needed or increased when additional protection is desired.
|
||||||
Keep in mind that this is a mitigation against offline attacks on password hashes,
|
Keep in mind that this is a mitigation against offline attacks on password hashes,
|
||||||
|
|||||||
1
towncrier/newsfragments/1753.feature
Normal file
1
towncrier/newsfragments/1753.feature
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Bump CREDENTIAL_ROUNDS to 13. If your system is too slow you may want to revert back to 12.
|
||||||
Reference in New Issue
Block a user