Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 799131

Summary: sys-auth/pambase: add yescrypt password hashing support
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: kfm, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 699422    
Attachments: 0001-pambase.py-add-support-for-yescrypt-password-hashing.patch
0001-sys-auth-pambase-add-support-for-yescrypt-password-h.patch

Description Alexander Tsoy 2021-06-29 00:28:14 UTC
As Gentoo is migrating to sys-libs/libxcrypt, whould be nice to have an optional yescrypt support in pambase. Yescrypt is more resistant to offline password cracking than sha512 and it is supported by pam.

https://www.openwall.com/yescrypt/
Comment 1 Alexander Tsoy 2021-06-29 10:11:58 UTC
Created attachment 720108 [details]
0001-pambase.py-add-support-for-yescrypt-password-hashing.patch
Comment 2 Alexander Tsoy 2021-06-29 10:12:56 UTC
Created attachment 720111 [details]
0001-sys-auth-pambase-add-support-for-yescrypt-password-h.patch
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-06-29 14:42:09 UTC
I agree that it makes sense but not earlier than I take a newer pam snapshot. Current situation with libxcrypt management via the cached autoconf variable is terrible.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-18 17:48:35 UTC
The bug has been closed via the following commit(s):

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

commit 6d7791ef9dc7cf4e5ffd8abe9e4120c386b98e0c
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2021-12-18 17:48:03 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2021-12-18 17:48:32 +0000

    sys-auth/pambase: Version bump (v20211218)
    
    Closes: https://bugs.gentoo.org/799131
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 sys-auth/pambase/Manifest                |   1 +
 sys-auth/pambase/pambase-20211218.ebuild | 111 +++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+)