Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820668 - dev-python/passlib: Advertise Argon2 support
Summary: dev-python/passlib: Advertise Argon2 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-29 07:29 UTC by Michael Seifert
Modified: 2021-10-29 15:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Seifert 2021-10-29 07:29:09 UTC
dev-python/passlib supports Argon2 password hashes via dev-python/argon2-cffi since passlib v1.7.

The passlib ebuild currently advertises optional support for bcrypt, scrypt, and TOTP via USE flags, but Argon2 is missing, even though it is one of the four password hashes suggested by passlib [1].

Since passlib loads argon2-cffi dynamically at runtime, [2] Argon2 support should probably be advertised through an "optfeature" message.


[1] https://passlib.readthedocs.io/en/stable/narr/quickstart.html#the-options
[2] https://passlib.readthedocs.io/en/stable/install.html#optional-libraries
Comment 1 Larry the Git Cow gentoo-dev 2021-10-29 15:30:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909ed7a164d3584cd45554ef27f19d8d5df2daa0

commit 909ed7a164d3584cd45554ef27f19d8d5df2daa0
Author:     Michael Seifert <m.seifert@digitalernachschub.de>
AuthorDate: 2021-10-29 07:41:50 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-10-29 15:30:11 +0000

    dev-python/passlib: Added argon2-cffi to optfeatures
    
    Closes: https://bugs.gentoo.org/820668
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    Closes: https://github.com/gentoo/gentoo/pull/22750
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/passlib/passlib-1.7.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83498ff6d0ec177d3224918c526d4ddc2e41dd2d

commit 83498ff6d0ec177d3224918c526d4ddc2e41dd2d
Author:     Michael Seifert <m.seifert@digitalernachschub.de>
AuthorDate: 2021-10-29 07:38:48 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-10-29 15:30:11 +0000

    dev-python/passlib: Replaced IUSE entries for optional runtime dependencies with optfeature messages
    
    Bug: https://bugs.gentoo.org/820668
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/passlib/passlib-1.7.4-r1.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8b7db4f62c4ed31b30b5e6b319368e3f219f8a

commit 6e8b7db4f62c4ed31b30b5e6b319368e3f219f8a
Author:     Michael Seifert <m.seifert@digitalernachschub.de>
AuthorDate: 2021-10-29 13:28:59 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-10-29 15:30:10 +0000

    app-admin/ansible-base: Added explicit test dependency on dev-python/bcrypt
    
    Bug: https://bugs.gentoo.org/820668
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 ...10.10.ebuild => ansible-base-2.10.10-r1.ebuild} |  1 +
 .../ansible-base/ansible-base-2.11.3-r1.ebuild     | 64 ++++++++++++++++++++++
 ...2.11.4.ebuild => ansible-base-2.11.4-r1.ebuild} |  1 +
 ...2.11.5.ebuild => ansible-base-2.11.5-r1.ebuild} |  1 +
 ...2.11.6.ebuild => ansible-base-2.11.6-r1.ebuild} |  1 +
 app-admin/ansible-base/ansible-base-9999.ebuild    |  1 +
 6 files changed, 69 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3e08228dc798bd11999611ea6ff15b38f3c8a8

commit 1e3e08228dc798bd11999611ea6ff15b38f3c8a8
Author:     Michael Seifert <m.seifert@digitalernachschub.de>
AuthorDate: 2021-10-29 09:08:06 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-10-29 15:30:08 +0000

    www-apps/radicale: Added explicit dependency on dev-python/bcrypt
    
    Removed USE dependency on dev-python/passlib[bcrypt].
    Bumped revision.
    
    Bug: https://bugs.gentoo.org/820668
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../radicale/{radicale-2.1.12.ebuild => radicale-2.1.12-r1.ebuild}   | 5 ++++-
 .../radicale/{radicale-3.0.6-r3.ebuild => radicale-3.0.6-r4.ebuild}  | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)