You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request :: change pass :: check against haveibeenpwned.com #129
Hi! Would be possible that for changing password to check it against haveibeenpwned.com ?
Unfortunately i have no perl knowledge and i cannot contribute directly but if it helps
this is the python version of checking: https://github.com/adriansev/bin-scripts/blob/master/check_pass_pwned
Interesting idea ... although I feel like actually it would be more useful to do this check against existing accounts, rather than when the password is changed.
well, it's not possible as the input for checking is the sha1 while what is stored in passwd is sha512. the leaked password are in clear text, so the usage of sha1 is the minimum thing to make the checking faster (i suppose) also allowing to make the checking local (by downloading all hashes with the given prefix)
Hmm ... in that case, checking at password change time is less valuable since it doesn't happen very often.
I would say is valuable enough to check if the password is already in leak passwords databases or in rainbow tables.. and the password change can happen when you increase the security of the password or one want to make sure that the password is somewhat safe ..
Nextcloud software have this nice trick implemented for it's users, i thought that it may be useful also for usermin, as i did not find a way to implement this at pam level.
Activity
jcameron commentedon Sep 30, 2025
Interesting idea ... although I feel like actually it would be more useful to do this check against existing accounts, rather than when the password is changed.
adriansev commentedon Oct 1, 2025
well, it's not possible as the input for checking is the sha1 while what is stored in passwd is sha512. the leaked password are in clear text, so the usage of sha1 is the minimum thing to make the checking faster (i suppose) also allowing to make the checking local (by downloading all hashes with the given prefix)
jcameron commentedon Oct 1, 2025
Hmm ... in that case, checking at password change time is less valuable since it doesn't happen very often.
adriansev commentedon Oct 2, 2025
I would say is valuable enough to check if the password is already in leak passwords databases or in rainbow tables.. and the password change can happen when you increase the security of the password or one want to make sure that the password is somewhat safe ..
Nextcloud software have this nice trick implemented for it's users, i thought that it may be useful also for usermin, as i did not find a way to implement this at pam level.
github-actions commentedon May 21, 2026
Closing this issue automatically because there has been no follow-up for 3 months.
iliaross commentedon May 21, 2026
Reopened, as this was closed by an automated cleanup run.