Bug 39792

Summary: Please get rid of libpwquality
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: cockpit-systemAssignee: Stanislav Levin <slev>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: slev, zerg
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 28888    

Description Dmitry V. Levin 2021-03-12 01:15:51 MSK
For an unknown reason, cockpit-system has an explicit "Requires: libpwquality".
Comment 1 Stanislav Levin 2021-06-29 21:26:51 MSK
The reason is known, upstream supports `libpwquality` only. In particular, `pwscore` tool is used for scoring the strength of a user's password.
Sadly, `pwqcheck` doesn't provide such functionality(the scoring).

Anyway, I prepared downstream-only(at least for now) patch for making password quality lib configurable.
Comment 2 Sergey V Turchin 2021-06-30 12:18:14 MSK
Вручную(неавтоматически) ставить зависимость на библиотеку у нас считается некрасиво и неправильно.

В конкретном случае лучше выбрать что-то подходящее из `rpm -q libpwquality --provides`. Т.е. pam_pwquality или 'PAM(pam_pwquality.so)' или /usr/bin/pwscore или /usr/bin/pwmake
Comment 3 Sergey V Turchin 2021-06-30 12:19:24 MSK
(Ответ для Sergey V Turchin на комментарий #2)
> Вручную(неавтоматически) ставить зависимость на библиотеку у нас считается
> некрасиво и неправильно.
Учитывая, что libpwquality криво упакована.
Comment 4 Stanislav Levin 2021-06-30 13:05:38 MSK
Fixed in cockpit-247-alt1.