Hide Forgot
Created attachment 534374 [details] Proposed patch I have written a simple library that should be used systemwide for the password quality checking. The library is named libpwquality and there is also a python wrapper. I've written a simple patch that calls it if the library is available. I've also added a check against the user name so I needed to modify the function in system-config-users so the user name is passed to it.
Note that the package is available on rawhide and the python bindings are in the python-pwquality subpackage, so this requirement should be added to the .spec.
Please note, this bug is related to PasswordQualityChecking Feature for Fedora 17. Feature freeze is planned on 2012-02-07. Nils, could you please provide any feedback?
Sorry, this fell through the cracks. The patch looks sane, I'll polish it a bit (e.g. clerror ("cracklib error") -> pwerror) before applying. I'll let s-c-users then depend on python-pwquality from F-17 on.
Building system-config-users-1.2.112-1.fc17 right now with these changes.