mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bth@kamstrup.com>
To: ptxdist@pengutronix.de
Cc: bth@kamstrup.com
Subject: [ptxdist] [PATCH] dropbear: stronger default MAC algorithms
Date: Fri, 20 Feb 2015 11:27:31 +0100	[thread overview]
Message-ID: <1424428051-25177-1-git-send-email-bth@kamstrup.com> (raw)

Disable SHA1-96 since it gets flagged by Nessus security scanner.
Disable SHA1 since it's no longer recommended for cryotography,
and Google, Mozilla, Microsoft & NIST have all announced deprecation of it.

Tenable Network Security - Nessus:
http://www.tenable.com/plugins/index.php?view=single&id=71049

Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
---
 rules/dropbear.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/dropbear.in b/rules/dropbear.in
index 1c1d813..db4a8ab 100644
--- a/rules/dropbear.in
+++ b/rules/dropbear.in
@@ -224,7 +224,6 @@ comment "Integrity, at least one required --- RFC Draft requires sha1-hmac and r
 config DROPBEAR_SHA1
 	bool
 	prompt "sha1"
-	default y
 	help
 	  The Secure Hash Algorithm (SHA) was developed by NIST and
 	  is specified in the Secure Hash Standard (SHS, FIPS 180).
@@ -237,7 +236,6 @@ config DROPBEAR_SHA1
 config DROPBEAR_SHA1_96
 	bool
 	prompt "sha1-96"
-	default y
 	help
 	  The Secure Hash Algorithm (SHA) was developed by NIST and
 	  is specified in the Secure Hash Standard (SHS, FIPS 180).
@@ -250,6 +248,7 @@ config DROPBEAR_SHA1_96
 config DROPBEAR_SHA256
 	bool
 	prompt "sha256"
+	default y
 	help
 	  SHA-2 is a set of cryptographic hash functions (SHA-224, SHA-256,
 	  SHA-384, SHA-512) designed by the National Security Agency (NSA)
@@ -262,6 +261,7 @@ config DROPBEAR_SHA256
 config DROPBEAR_SHA512
 	bool
 	prompt "sha512"
+	default y
 	help
 	  SHA-2 is a set of cryptographic hash functions (SHA-224, SHA-256,
 	  SHA-384, SHA-512) designed by the National Security Agency (NSA)
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-02-20 10:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424428051-25177-1-git-send-email-bth@kamstrup.com \
    --to=bth@kamstrup.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox