summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorroedie <github@roedie.nl>2025-09-20 21:43:09 +0200
committerroedie <github@roedie.nl>2025-09-20 21:43:09 +0200
commit44e12a001b21d6e0250466e252d61c805ba004df (patch)
treeeaef55de7e78f6eeef01c957722828749f1d05f9 /python
parentae531cd932fe5c1662908a366766382dbc5550f7 (diff)
downloadvyos-1x-44e12a001b21d6e0250466e252d61c805ba004df.tar.gz
vyos-1x-44e12a001b21d6e0250466e252d61c805ba004df.zip
T7852: Switch to yescypt for password encryption
Accidentally slipped in 2 whitespace corrections
Diffstat (limited to 'python')
-rw-r--r--python/vyos/utils/auth.py2
1 files changed, 1 insertions, 1 deletions
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=""):