Page MenuHomeVyOS Platform

system_login: complete migration to yescrypt password encryption
Open, NormalPublic

Description

PR #4739 partially switched password hashing from SHA-512 to yescrypt, covering only the standalone password reset script (standalone_root_pw_reset) and the make_password_hash() function in utils/auth.py

Some scenarios still produce SHA-512 hashes via passlib.hosts.linux_context, which hardcodes sha512_crypt as its default and does not support yescrypt. Remaining places that still produce SHA-512 hashes:

  • when a user sets a plaintext password via CLI (set system login user vyos authentication plaintext-password '')
  • image installer produces hash of initial password
  • OpenConnect VPN local user password hash (however password is stored plain-text in config)

Note: passlib library is stalled at v1.7.4

Details

Version
2026.02.16-0027-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)