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>
This commit is contained in:
Matt Weber 2018-12-05 20:06:28 -06:00 committed by Peter Korsgaard
parent 2e104e22ea
commit 9cf2280846

View 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).