[PATCH v2 4/5] security: password: make PBKDF2 the default instead of MD5
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Aug 7 01:19:41 PDT 2025
From: Ahmad Fatoum <a.fatoum at 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 at 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
More information about the barebox
mailing list