chore(mailserver): update password hashing method

- Changed default hashing method in `mkpasswd` command to `sha-512`.
- Ensures stronger security compared to the previous bcrypt method.
This commit is contained in:
Harald Hoyer 2025-07-29 15:54:01 +02:00
parent d9097dbd72
commit f41c21344e

View file

@ -1,8 +1,7 @@
{ { pkgs
pkgs, , lib
lib, , config
config, , ...
...
}: }:
{ {
# email addresses git smudged # email addresses git smudged
@ -54,7 +53,7 @@
]; ];
}; };
# A list of all login accounts. To create the password hashes, use # A list of all login accounts. To create the password hashes, use
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' # nix-shell -p mkpasswd --run 'mkpasswd -m sha-512'
loginAccounts = { loginAccounts = {
"zu@ublre.klm" = { "zu@ublre.klm" = {
hashedPasswordFile = "/ubzr/unenyq/frpergf/zu@ublre.klm"; hashedPasswordFile = "/ubzr/unenyq/frpergf/zu@ublre.klm";