Browse Source

Better display for supported ciphers

master
aeris 2 years ago
parent
commit
ad7d8287a8
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      bin/supported.rb

+ 3
- 2
bin/supported.rb View File

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

Loading…
Cancel
Save