Commit graph

3 commits

Author SHA1 Message Date
Matthias Clasen
f62d801656 users: Pass more information to password checker
Passing the username and the old password allows the password
quality check find more bad passwords. Also, add a way to provide
more information about why a password is not good enough.

https://bugzilla.gnome.org/show_bug.cgi?id=676396
2012-05-23 10:43:48 -04:00
Matthias Clasen
810f29b6ce users: Use libpwquality for password handling
Using a library for password generation and quality checking
has the obvious benefit that we can have centralized policy
for password quality, and our homegrown code for this was not
a beauty in the first place.

This commit drops the use of /usr/bin/agp for generating
random passwords.

https://bugzilla.gnome.org/show_bug.cgi?id=676396
2012-05-23 10:43:17 -04:00
Matthias Clasen
8947cf8468 users: Separate out password generation and strength calculation
This is in preparation of using a library for this purpose, and
is just generally cleaner.
2012-05-23 09:19:21 -04:00