瀏覽代碼

Better display for supported ciphers

new-scoring
aeris 2 年之前
父節點
當前提交
ad7d8287a8
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      bin/supported.rb

+ 3
- 2
bin/supported.rb 查看文件

@@ -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…
取消
儲存