diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/utils/auth.py | 2 |
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=""): |
