Sfoglia il codice sorgente

Better display for supported ciphers

new-scoring
aeris 2 anni fa
parent
commit
ad7d8287a8
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3
    2
      bin/supported.rb

+ 3
- 2
bin/supported.rb Vedi 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"

Loading…
Annulla
Salva