Better display for supported ciphers

new-scoring
aeris 2016-12-17 14:41:02 +01:00
parent dbc58944ac
commit ad7d8287a8
1 changed files with 3 additions and 2 deletions

View File

@ -7,5 +7,6 @@ require 'cryptcheck'
puts 'Supported methods'
puts OpenSSL::SSL::SSLContext::METHODS.select { |m| CryptCheck::Tls::Server::EXISTING_METHODS.include? m }.sort.join ' '
puts 'Supported ciphers'
puts CryptCheck::Tls::Cipher.list.collect { |c| c.colorize }.join ' '
supported = CryptCheck::Tls::Cipher.list
puts "#{supported.size} supported ciphers"
puts supported.collect { |c| c.colorize }.join "\n"