Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 720111 Details for
Bug 799131
sys-auth/pambase: add yescrypt password hashing support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
0001-sys-auth-pambase-add-support-for-yescrypt-password-h.patch
0001-sys-auth-pambase-add-support-for-yescrypt-password-h.patch (text/plain), 2.17 KB, created by
Alexander Tsoy
on 2021-06-29 10:12:56 UTC
(
hide
)
Description:
0001-sys-auth-pambase-add-support-for-yescrypt-password-h.patch
Filename:
MIME Type:
Creator:
Alexander Tsoy
Created:
2021-06-29 10:12:56 UTC
Size:
2.17 KB
patch
obsolete
>From 6bc8fa7ec5b029c8da7162cfa322fa0c1b944d46 Mon Sep 17 00:00:00 2001 >From: Alexander Tsoy <alexander@tsoy.me> >Date: Tue, 29 Jun 2021 13:08:39 +0300 >Subject: [PATCH] sys-auth/pambase: add support for yescrypt password hashing > >Signed-off-by: Alexander Tsoy <alexander@tsoy.me> >--- > sys-auth/pambase/metadata.xml | 4 ++++ > sys-auth/pambase/pambase-999999999.ebuild | 8 +++++++- > 2 files changed, 11 insertions(+), 1 deletion(-) > >diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml >index d9afbc2959e..58c03372967 100644 >--- a/sys-auth/pambase/metadata.xml >+++ b/sys-auth/pambase/metadata.xml >@@ -91,5 +91,9 @@ > relevant anymore as the login stack only refers to local logins > and local terminals imply secure access in the first place. > </flag> >+ <flag name="yescrypt"> >+ Switch Linux-PAM's pam_unix module to use yescrypt for passwords >+ hashes rather than MD5. >+ </flag> > </use> > </pkgmetadata> >diff --git a/sys-auth/pambase/pambase-999999999.ebuild b/sys-auth/pambase/pambase-999999999.ebuild >index b4166689528..f317bfc6ac2 100644 >--- a/sys-auth/pambase/pambase-999999999.ebuild >+++ b/sys-auth/pambase/pambase-999999999.ebuild >@@ -21,13 +21,14 @@ fi > > LICENSE="MIT" > SLOT="0" >-IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd" >+IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd yescrypt" > > RESTRICT="binchecks" > > REQUIRED_USE=" > ?? ( elogind systemd ) > ?? ( passwdqc pwquality ) >+ ?? ( sha512 yescrypt ) > pwhistory? ( || ( passwdqc pwquality ) ) > homed? ( !pam_krb5 ) > pam_krb5? ( !homed ) >@@ -52,6 +53,10 @@ RDEPEND=" > sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) > homed? ( sys-apps/systemd[homed] ) > systemd? ( sys-apps/systemd[pam] ) >+ yescrypt? ( >+ sys-libs/libxcrypt[system] >+ >=sys-libs/pam-${MIN_PAM_REQ} >+ ) > " > > BDEPEND="$(python_gen_any_dep ' >@@ -81,6 +86,7 @@ src_configure() { > $(usex selinux '--selinux' '') \ > $(usex sha512 '--sha512' '') \ > $(usex systemd '--systemd' '') \ >+ $(usex yescrypt '--yescrypt' '') \ > || die > } > >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 799131
:
720108
| 720111