Switch from BLF-CRYPT to SHA512-CRYPT

This commit is contained in:
link2xt
2023-10-15 20:47:59 +00:00
parent 5781d3b04e
commit cf1be90115

View File

@@ -16,7 +16,7 @@ def encrypt_password(password: str):
password = password.encode("ascii")
# https://doc.dovecot.org/configuration_manual/authentication/password_schemes/
process = subprocess.Popen(
["doveadm", "pw", "-s", "BLF-CRYPT"],
["doveadm", "pw", "-s", "SHA512-CRYPT"],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
)