| Summary: | Call pwquality library for systemwide password quality checking | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomas Mraz <tmraz> | ||||
| Component: | system-config-users | Assignee: | Nils Philippsen <nphilipp> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | nphilipp, pvrabec | ||||
| Target Milestone: | --- | Keywords: | FutureFeature, Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-12 17:00:06 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
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. |
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.