Stop recommending bcrypt everywhere

By passing no method to mkpasswd we make it select the strongest cipher
that libxcrypt recommends.

Replaces the example hashes with yescrypt hashes, which is the current
default.
This commit is contained in:
Martin Weinelt
2025-11-16 18:27:29 +01:00
parent 33ba1ff52b
commit ff9b046f0f
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ let
inherit password;
}
''
mkpasswd -sm bcrypt <<<"$password" > $out
mkpasswd -s <<<"$password" > $out
'';
hashedPasswordFile = hashPassword "my-password";