Default password encryption method
Matthias Klein
matthias.klein at optimeas.de
Mon Apr 28 07:14:54 UTC 2014
ping ...
------ Weitergeleitete Nachricht ------
Von: "Matthias Klein" <matthias.klein at optimeas.de>
An: busybox at busybox.net
Gesendet: 11.04.2014 19:40:28
Betreff: Default password encryption method
Hello,
is it possible to use sha512 instead of des or md5 as default when the
option USE_BB_CRYPT_SHA is selected ?
I think of a patch like:
diff --git a/loginutils/Config.src b/loginutils/Config.src
index fa2b4f8..b398972 100644
--- a/loginutils/Config.src
+++ b/loginutils/Config.src
@@ -285,7 +285,8 @@ config CHPASSWD
config FEATURE_DEFAULT_PASSWD_ALGO
string "Default password encryption method (passwd -a, cryptpw
-m parameter)"
- default "des"
+ default "md5"
+ default "sha512" if USE_BB_CRYPT_SHA
depends on PASSWD || CRYPTPW
help
Possible choices are "d[es]", "m[d5]", "s[ha256]" or "sha512".
(But the above mentioned "if" does not work)
Best regards,
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140428/1e07a14a/attachment.html>
More information about the busybox
mailing list