Explorar el Código

Better display for supported ciphers

new-scoring
aeris hace 3 años
padre
commit
ad7d8287a8
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      bin/supported.rb

+ 3
- 2
bin/supported.rb Ver fichero

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

Cargando…
Cancelar
Guardar