]> git.proxmox.com Git - proxmox-backup.git/commit
auth: upgrade hashes on user log in
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 6 Mar 2024 12:36:07 +0000 (13:36 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 May 2024 14:04:18 +0000 (16:04 +0200)
commit8e77260256ac83d8800511e7bb210b1266442ec7
tree69a034d0a6e13176506ec2311237b820d3ea0099
parentcf71dc242836148f4ea936fcb95136e9eb0eb774
auth: upgrade hashes on user log in

if a users password is not hashed with the latest password hashing
function, re-hash the password with the newest hashing function. we
can only do this on login and after the password has been validated,
as this is the only point at which we have access to the plain text
password and also know that it matched the original password.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
src/auth.rs