From 7298746ccb57788e3c7feb61bc3b6713ae714f29 Mon Sep 17 00:00:00 2001 From: Aeris Date: Wed, 26 Aug 2015 18:42:34 +0200 Subject: [PATCH] Miss SSLv2/3 and DSS errors --- .gitignore | 4 ++-- lib/cryptcheck/tls/cipher.rb | 2 +- lib/cryptcheck/tls/grade.rb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index df03ac2..ce356a8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,5 @@ Gemfile.lock /output/*.html /db/*.sqlite3 /db/schema.rb -/lib/*.so -/lib/*.so.1.0.0 +/lib/**/*.so +/lib/**/*.so.1.0.0 diff --git a/lib/cryptcheck/tls/cipher.rb b/lib/cryptcheck/tls/cipher.rb index 24f82e2..745fa9f 100644 --- a/lib/cryptcheck/tls/cipher.rb +++ b/lib/cryptcheck/tls/cipher.rb @@ -69,7 +69,7 @@ module CryptCheck ok = Proc.new { |n| self.send "#{n}?" } { success: %i(pfs).select { |n| ok.call n }, warning: %i(des3 sha1).select { |n| ok.call n }, - danger: %i(md5 psk srp anonymous null export des rc2 rc4).select { |n| ok.call n } + danger: %i(dss md5 psk srp anonymous null export des rc2 rc4).select { |n| ok.call n } } end end diff --git a/lib/cryptcheck/tls/grade.rb b/lib/cryptcheck/tls/grade.rb index cffe3e8..d0085c5 100644 --- a/lib/cryptcheck/tls/grade.rb +++ b/lib/cryptcheck/tls/grade.rb @@ -69,11 +69,11 @@ module CryptCheck @error = [] @error << :md5_sig if @server.md5_sig? + @error << :sslv2 if @server.sslv2? + @error << :sslv3 if @server.sslv3? @error << :md5 if @server.md5? - @error << :anonymous if @server.anonymous? - @error << :dss if @server.dss? @error << :null if @server.null?