You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-25 22:12:28 +02:00
Change default password scheme to PBKDF2 (#1194)
This commit is contained in:
@@ -51,7 +51,7 @@ DEFAULT_CONFIG = {
|
|||||||
'RECAPTCHA_PUBLIC_KEY': '',
|
'RECAPTCHA_PUBLIC_KEY': '',
|
||||||
'RECAPTCHA_PRIVATE_KEY': '',
|
'RECAPTCHA_PRIVATE_KEY': '',
|
||||||
# Advanced settings
|
# Advanced settings
|
||||||
'PASSWORD_SCHEME': 'BLF-CRYPT',
|
'PASSWORD_SCHEME': 'PBKDF2',
|
||||||
'LOG_LEVEL': 'WARNING',
|
'LOG_LEVEL': 'WARNING',
|
||||||
# Host settings
|
# Host settings
|
||||||
'HOST_IMAP': 'imap',
|
'HOST_IMAP': 'imap',
|
||||||
|
|||||||
@@ -143,8 +143,8 @@ DOMAIN_REGISTRATION=true
|
|||||||
COMPOSE_PROJECT_NAME={{ compose_project_name or 'mailu' }}
|
COMPOSE_PROJECT_NAME={{ compose_project_name or 'mailu' }}
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME={{ password_scheme or 'BLF-CRYPT' }}
|
PASSWORD_SCHEME={{ password_scheme or 'PBKDF2' }}
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER={{ real_ip_header }}
|
REAL_IP_HEADER={{ real_ip_header }}
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ WEBSITE=https://mailu.io
|
|||||||
COMPOSE_PROJECT_NAME=mailu
|
COMPOSE_PROJECT_NAME=mailu
|
||||||
|
|
||||||
# Default password scheme used for newly created accounts and changed passwords
|
# Default password scheme used for newly created accounts and changed passwords
|
||||||
# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
|
||||||
PASSWORD_SCHEME=BLF-CRYPT
|
PASSWORD_SCHEME=PBKDF2
|
||||||
|
|
||||||
# Header to take the real ip from
|
# Header to take the real ip from
|
||||||
REAL_IP_HEADER=
|
REAL_IP_HEADER=
|
||||||
|
|||||||
1
towncrier/newsfragments/1194.feature
Normal file
1
towncrier/newsfragments/1194.feature
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Change default password scheme to PBKDF2
|
||||||
Reference in New Issue
Block a user