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.fat...@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


Reply via email to