From: Peter Korsgaard Date: Thu, 10 Mar 2016 21:01:26 +0100 Subject: [Buildroot] [PATCH] busybox: use md5 as default password algorithm In-Reply-To: <1457638990-27544-1-git-send-email-gustavo@zacarias.com.ar> (Gustavo Zacarias's message of "Thu, 10 Mar 2016 16:43:10 -0300") References: <1457638990-27544-1-git-send-email-gustavo@zacarias.com.ar> Message-ID: <871t7im7ah.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Gustavo" == Gustavo Zacarias writes: > DES is terribly outdated and a security vulnerability. > Signed-off-by: Gustavo Zacarias > --- > package/busybox/busybox.config | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > diff --git a/package/busybox/busybox.config b/package/busybox/busybox.config > index 2cf989d..693b9d2 100644 > --- a/package/busybox/busybox.config > +++ b/package/busybox/busybox.config > @@ -496,7 +496,7 @@ CONFIG_PASSWD=y > CONFIG_FEATURE_PASSWD_WEAK_CHECK=y > # CONFIG_CRYPTPW is not set > # CONFIG_CHPASSWD is not set > -CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" > +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="md5" So this is what is used when you change password through the busybox passwd applet or create a new user, right? Shouldn't we instead tweak this based on BR2_TARGET_GENERIC_PASSWD_*? -- Bye, Peter Korsgaard