system cfg: set mkpasswd default to SHA256
authorMatt Weber <matthew.weber@rockwellcollins.com>
Thu, 6 Dec 2018 02:06:28 +0000 (20:06 -0600)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Dec 2018 10:26:37 +0000 (11:26 +0100)
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>
system/Config.in

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