From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH v2 4/5] security: password: make PBKDF2 the default instead of MD5
Date: Thu, 7 Aug 2025 10:19:41 +0200 [thread overview]
Message-ID: <20250807081942.250226-4-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20250807081942.250226-1-a.fatoum@pengutronix.de>
From: Ahmad Fatoum <a.fatoum@barebox.org>
MD5 was the first entry in the choice and thus automatically the
default. This is a bad idea, so make PBKDF2 the explicit default.
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
v1 -> v2:
- unchanged
---
security/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/Kconfig b/security/Kconfig
index b9447e73fc6f..372fd275fde9 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -39,6 +39,7 @@ if PASSWORD
choice
prompt "passwd checksum"
+ default PASSWD_CRYPTO_PBKDF2
config PASSWD_SUM_MD5
bool "MD5"
--
2.39.5
next prev parent reply other threads:[~2025-08-07 8:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 8:19 [PATCH v2 1/5] security: add new top-level menu Ahmad Fatoum
2025-08-07 8:19 ` [PATCH v2 2/5] security: mark weaker passwords hashing algorithms insecure Ahmad Fatoum
2025-08-07 8:19 ` [PATCH v2 3/5] commands: introduce new security command group Ahmad Fatoum
2025-08-07 8:19 ` Ahmad Fatoum [this message]
2025-08-07 8:19 ` [PATCH v2 5/5] commands: move login/passwd into security section Ahmad Fatoum
2025-08-08 5:37 ` [PATCH v2 1/5] security: add new top-level menu Sascha Hauer
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=20250807081942.250226-4-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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