Bug 39792 - Please get rid of libpwquality
Summary: Please get rid of libpwquality
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: cockpit-system (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Stanislav Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 28888
  Show dependency tree
 
Reported: 2021-03-12 01:15 MSK by Dmitry V. Levin
Modified: 2021-06-30 13:06 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.