From: Peter Korsgaard Date: Thu, 10 Mar 2016 23:00:42 +0100 Subject: [Buildroot] [PATCH] busybox: use md5 as default password algorithm In-Reply-To: <56E1D309.3030602@zacarias.com.ar> (Gustavo Zacarias's message of "Thu, 10 Mar 2016 17:03:21 -0300") References: <1457638990-27544-1-git-send-email-gustavo@zacarias.com.ar> <871t7im7ah.fsf@dell.be.48ers.dk> <56E1D309.3030602@zacarias.com.ar> Message-ID: <87pov2j8mt.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: > On 10/03/16 17:01, Peter Korsgaard wrote: >> 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_*? > Yes. > This is the lowest-common which is guaranteed to work on all > scenarios, once we decide/switch to sha256 as default we can update it > here, but i wouldn't defer this until then. Ehh, yes - But if you have enabled E.G BR2_TARGET_GENERIC_PASSWD_SHA512 then that is what the busybox passwd applet should use. Having it do md5 instead of des is still wrong. -- Venlig hilsen, Peter Korsgaard