From 44e12a001b21d6e0250466e252d61c805ba004df Mon Sep 17 00:00:00 2001 From: roedie Date: Sat, 20 Sep 2025 21:43:09 +0200 Subject: T7852: Switch to yescypt for password encryption Accidentally slipped in 2 whitespace corrections --- python/vyos/utils/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/utils/auth.py b/python/vyos/utils/auth.py index 6e816af71..c6803fae4 100644 --- a/python/vyos/utils/auth.py +++ b/python/vyos/utils/auth.py @@ -90,7 +90,7 @@ def evaluate_strength(passwd: str) -> dict[str, str]: def make_password_hash(password): """ Makes a password hash for /etc/shadow using mkpasswd """ - mkpassword = 'mkpasswd --method=sha-512 --stdin' + mkpassword = 'mkpasswd --method=yescrypt --stdin' return cmd(mkpassword, input=password, timeout=5) def split_ssh_public_key(key_string, defaultname=""): -- cgit v1.2.3