mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
system cfg: remove mkpasswd MD5 format option
As SHA256 is now default, removing weak MD5 option. C libraries now all support the SHA methods. glibc 2.7+ uclibc (bdd8362a88 package/uclibc: defconfig: enable sha-256...) musl 1.1.14+ One issue this would prevent, is a host tool issue with a FIPS enabled system where weak ciphers/methods are disabled. It seems the crypt(3) call is impacted by /proc/sys/crypto/fips_enabled (per crypt(3) man page). It results in mkpasswd returning "(EPERM) crypt failed." Rather then create a Buildroot host dependency check, this patch removes the potential corner case from being selected. Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
9cf2280846
commit
bf3626002f
@ -143,6 +143,7 @@ comment "----------------------------------------------------"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
comment "Legacy options removed in 2019.02"
|
comment "Legacy options removed in 2019.02"
|
||||||
|
|
||||||
config BR2_PACKAGE_LUA_5_2
|
config BR2_PACKAGE_LUA_5_2
|
||||||
@ -152,6 +153,13 @@ config BR2_PACKAGE_LUA_5_2
|
|||||||
help
|
help
|
||||||
The Lua 5.2.x version was removed.
|
The Lua 5.2.x version was removed.
|
||||||
|
|
||||||
|
config BR2_TARGET_GENERIC_PASSWD_MD5
|
||||||
|
bool "target passwd md5 format support has been removed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
help
|
||||||
|
The default has been moved to SHA256 and all C libraries
|
||||||
|
now support that method by default
|
||||||
|
|
||||||
comment "Legacy options removed in 2018.11"
|
comment "Legacy options removed in 2018.11"
|
||||||
|
|
||||||
config BR2_TARGET_XLOADER
|
config BR2_TARGET_XLOADER
|
||||||
|
@ -68,16 +68,6 @@ choice
|
|||||||
|
|
||||||
Note: this is used at build-time, and *not* at runtime.
|
Note: this is used at build-time, and *not* at runtime.
|
||||||
|
|
||||||
config BR2_TARGET_GENERIC_PASSWD_MD5
|
|
||||||
bool "md5"
|
|
||||||
help
|
|
||||||
Use MD5 to encode passwords.
|
|
||||||
|
|
||||||
The default. Wildly available, and pretty good.
|
|
||||||
Although pretty strong, MD5 is now an old hash function, and
|
|
||||||
suffers from some weaknesses, which makes it susceptible to
|
|
||||||
brute-force attacks.
|
|
||||||
|
|
||||||
config BR2_TARGET_GENERIC_PASSWD_SHA256
|
config BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||||
bool "sha-256"
|
bool "sha-256"
|
||||||
help
|
help
|
||||||
|
Loading…
x
Reference in New Issue
Block a user