summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-10-02 15:27:19 +0100
committerGitHub <noreply@github.com>2025-10-02 15:27:19 +0100
commit55a95ce60e3f4f32316875dca37ee96b323671f4 (patch)
treedc0fba38c68b731c2da029d23dcde4958f4e3a94 /python
parentb4d33753c2f414609167cd18c7a5d39a3a7b4b6f (diff)
parent44e12a001b21d6e0250466e252d61c805ba004df (diff)
downloadvyos-1x-55a95ce60e3f4f32316875dca37ee96b323671f4.tar.gz
vyos-1x-55a95ce60e3f4f32316875dca37ee96b323671f4.zip
Merge pull request #4739 from roedie/T7852
T7852: Switch to yescrypt password encryption
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=""):