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?