Bug 293464 - security/py-passlib: broken since bcrypt 5
Summary: security/py-passlib: broken since bcrypt 5
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-26 12:55 UTC by topical
Modified: 2026-02-26 12:58 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
Update port to be compatible with bcrypt 5 (3.55 KB, patch)
2026-02-26 12:58 UTC, topical
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description topical 2026-02-26 12:55:04 UTC
Since bcrypt 5.0, py-passlib is broken, see https://github.com/ansible/ansible/issues/85919

passlib is effectively dead (last update 2020), so fixing it upstream is not really feasible. Thus, the best way is to get rid of it (see https://github.com/ansible/ansible/pull/85970), but meanwhile we need a fix, especially since Ansible's "hwpasswd" is broken.

Using the fix presented in https://github.com/ansible/ansible/issues/85919 seems to work.
Comment 1 topical 2026-02-26 12:58:20 UTC
Created attachment 268377 [details]
Update port to be compatible with bcrypt 5

based on https://github.com/ansible/ansible/issues/85919