Переглянути джерело

dropbear: disable two weak kex/mac algorithms

hmac-sha1 and diffie-hellman-group14-sha1 are weak algorithms.
A future deprecation notice of ssh-rsa (2048-bit) has been issued. [1]

It has no place in a potentially internet-facing daemon like dropbear.
Upstream has acknowledged this and offered this solution to disable
these two until this is made to be the default in the next release
of dropbear next year. [2]

1. https://www.openssh.com/txt/release-8.2
2. https://github.com/mkj/dropbear/issues/138

Signed-off-by: John Audia <[email protected]>
Signed-off-by: Konstantin Demin <[email protected]>
Konstantin Demin 1 рік тому
батько
коміт
2d9a0be307
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      package/network/services/dropbear/Makefile

+ 4 - 0
package/network/services/dropbear/Makefile

@@ -110,12 +110,16 @@ CONFIGURE_ARGS += \
 # - DROPBEAR_CLI_NETCAT
 # - DROPBEAR_DSS
 # - DO_MOTD
+# - DROPBEAR_DH_GROUP14_SHA1
+# - DROPBEAR_SHA1_HMAC
 DB_OPT_COMMON = \
 	!!LOCAL_IDENT,"SSH-2.0-dropbear" \
 	DEFAULT_PATH,"$(TARGET_INIT_PATH)" \
 	DROPBEAR_DSS,0 \
 	DROPBEAR_CLI_NETCAT,0 \
 	DO_MOTD,0 \
+	DROPBEAR_DH_GROUP14_SHA1,0 \
+	DROPBEAR_SHA1_HMAC,0 \
 
 
 ##############################################################################