Browse Source

Miss SSLv2/3 and DSS errors

master
Aeris 4 years ago
parent
commit
7298746ccb
3 changed files with 5 additions and 5 deletions
  1. 2
    2
      .gitignore
  2. 1
    1
      lib/cryptcheck/tls/cipher.rb
  3. 2
    2
      lib/cryptcheck/tls/grade.rb

+ 2
- 2
.gitignore View File

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

+ 1
- 1
lib/cryptcheck/tls/cipher.rb View File

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

+ 2
- 2
lib/cryptcheck/tls/grade.rb View File

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