mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Fw: [PATCH] busybox: use SHA512 for new passwords when SHA256/512 support is enabled
@ 2014-03-31  8:50 Matthias Klein
  0 siblings, 0 replies; only message in thread
From: Matthias Klein @ 2014-03-31  8:50 UTC (permalink / raw)
  To: ptxdist

Hi,

is something wrong with this patch?

Best regards,
Matthias

------ Weitergeleitete Nachricht ------
Von: "Matthias Klein" <matthias.klein@optimeas.de>
An: ptxdist@pengutronix.de
Gesendet: 06.03.2014 12:27:43
Betreff: [ptxdist] [PATCH] busybox: use SHA512 for new passwords when 
SHA256/512 support is enabled


Signed-off-by: Matthias Klein <matthias.klein@optimeas.de>
---
  rules/busybox.make | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/rules/busybox.make b/rules/busybox.make
index 7a37f43..53cc1ca 100644
--- a/rules/busybox.make
+++ b/rules/busybox.make
@@ -43,6 +43,11 @@ $(STATEDIR)/busybox.prepare:
   @grep -e PTXCONF_BUSYBOX_ $(PTXDIST_PTXCONFIG) | \
    sed -e 's/PTXCONF_BUSYBOX_/CONFIG_/g' > $(BUSYBOX_DIR)/.config

+ifdef PTXCONF_BUSYBOX_USE_BB_CRYPT_SHA
+ @sed -i -e 
's,^CONFIG_FEATURE_DEFAULT_PASSWD_ALGO.*$$,CONFIG_FEATURE_DEFAULT_PASSWD_ALGO=\"sha512\",g' 
\
+ "$(BUSYBOX_DIR)/.config"
+endif
+
   @$(call ptx/oldconfig, BUSYBOX)

   @$(call touch)
--
1.7.10.4


--
ptxdist mailing list
ptxdist@pengutronix.de


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-31  8:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-31  8:50 [ptxdist] Fw: [PATCH] busybox: use SHA512 for new passwords when SHA256/512 support is enabled Matthias Klein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox