Miss SSLv2/3 and DSS errors

v1
Aeris 8 years ago
parent 9b74c5a829
commit 7298746ccb
  1. 4
      .gitignore
  2. 2
      lib/cryptcheck/tls/cipher.rb
  3. 4
      lib/cryptcheck/tls/grade.rb

4
.gitignore vendored

@ -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

@ -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

@ -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?

Loading…
Cancel
Save