[PATCH 4/5] security: password: make PBKDF2 the default instead of MD5
Ahmad Fatoum
a.fatoum at barebox.org
Wed Aug 6 07:00:04 PDT 2025
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>
---
security/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/Kconfig b/security/Kconfig
index 3e21e1416e2f..8cc8ca223896 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -59,6 +59,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