busybox: enable sha hash for /etc/shadow
authorPaul Spooren <mail@aparcar.org>
Thu, 18 Jan 2024 15:25:34 +0000 (16:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 20 Jan 2024 13:22:58 +0000 (13:22 +0000)
It appears `md5` is no longer state of the art. Let's switch it to
something slightly newer to increase security.

Suggested-by: abnoeh <abnoeh@mail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
package/utils/busybox/Config-defaults.in

index b3c3f9a0b2374004252a0bc68e9b03e2e924c471..5ae8dd5622df863f46bdcabb96e2c09cba116eee 100644 (file)
@@ -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