From: Ahmad Fatoum <a.fat...@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.fat...@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


Reply via email to