Are we still use md5 as default as password hash?

Paul Spooren mail at aparcar.org
Thu Jan 18 03:21:05 PST 2024


Hi,

> however Busybox doesn't configed to use those and still use md5 as
> default, while we bring other hash algos into flash anyway:

Does the following do the trick?

diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in
index b3c3f9a0b2..5ae8dd5622 100644
--- a/package/utils/busybox/Config-defaults.in
+++ b/package/utils/busybox/Config-defaults.in
@@ -1333,7 +1333,7 @@ config BUSYBOX_DEFAULT_USE_BB_CRYPT
        default n
 config BUSYBOX_DEFAULT_USE_BB_CRYPT_SHA
        bool
-       default n
+       default y
 config BUSYBOX_DEFAULT_ADD_SHELL
        bool
        default n

If so I’d create a PR

Best,
Paul


More information about the openwrt-devel mailing list