public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pambase:master commit in: /
Date: Sun, 14 Nov 2021 11:55:20 +0000 (UTC)	[thread overview]
Message-ID: <1636890894.3b89ab7e52aba0bbb23af40e420d2daf4e07cb84.zlogene@gentoo> (raw)

commit:     3b89ab7e52aba0bbb23af40e420d2daf4e07cb84
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 11:54:54 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 11:54:54 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=3b89ab7e

Add yescrypt support

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 pambase.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pambase.py b/pambase.py
index c078156..3875e89 100755
--- a/pambase.py
+++ b/pambase.py
@@ -19,6 +19,7 @@ def main():
     parser.add_argument('--mktemp', action="store_true", help='enable pam_mktemp.so module')
     parser.add_argument('--pam-ssh', action="store_true", help='enable pam_ssh.so module')
     parser.add_argument('--securetty', action="store_true", help='enable pam_securetty.so module')
+    parser.add_argument('--yescrypt', action="store_true", help='enable yescrypt option for pam_unix.so module')
     parser.add_argument('--sha512', action="store_true", help='enable sha512 option for pam_unix.so module')
     parser.add_argument('--krb5', action="store_true", help='enable pam_krb5.so module')
     parser.add_argument('--minimal', action="store_true", help='install minimalistic PAM stack')
@@ -61,7 +62,9 @@ def process_args(args):
     if args.krb5:
         output["krb5_params"] = "{0} ignore_root try_first_pass".format("debug").strip()
 
-    if args.sha512:
+    if args.yescrypt:
+        output["unix_extended_encryption"] = "yescrypt shadow"
+    elif args.sha512:
         output["unix_extended_encryption"] = "sha512 shadow"
     else:
         output["unix_extended_encryption"] = "md5 shadow"


             reply	other threads:[~2021-11-14 11:55 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14 11:55 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23 23:46 [gentoo-commits] proj/pambase:master commit in: / Sam James
2023-11-13  6:20 Sam James
2020-10-12 15:28 Sam James
2020-08-05  6:13 Sam James
2020-08-05  6:04 Sam James
2020-06-18 10:11 Mikle Kolyada
2020-06-17 18:30 Mikle Kolyada
2020-06-16 16:26 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-04-29 21:37 Mikle Kolyada
2020-03-04 17:32 David Seifert
2019-11-28 18:21 Mikle Kolyada
2019-11-27  9:27 Mikle Kolyada
2019-11-24 14:37 Mikle Kolyada
2019-11-15 18:09 Mikle Kolyada
2019-04-02 13:11 Mikle Kolyada
2015-05-17  5:22 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2014-03-13 14:40 Samuli Suominen
2014-03-13 14:17 Samuli Suominen
2014-03-13 14:12 Samuli Suominen
2012-04-17  7:10 Paweł Hajdan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1636890894.3b89ab7e52aba0bbb23af40e420d2daf4e07cb84.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox