Преглед изворни кода

system cfg: set mkpasswd default to SHA256

This patch changes the default mkpasswd method to SHA256 from MD5.
The change both improves the quality of the hash used and prepares
for eventually removing MD5 as a option.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Matt Weber пре 5 година
родитељ
комит
9cf2280846
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      system/Config.in

+ 1 - 1
system/Config.in

@@ -61,7 +61,7 @@ endif
 
 
 choice
 choice
 	bool "Passwords encoding"
 	bool "Passwords encoding"
-	default BR2_TARGET_GENERIC_PASSWD_MD5
+	default BR2_TARGET_GENERIC_PASSWD_SHA256
 	help
 	help
 	  Choose the password encoding scheme to use when Buildroot
 	  Choose the password encoding scheme to use when Buildroot
 	  needs to encode a password (eg. the root password, below).
 	  needs to encode a password (eg. the root password, below).