From dbc58944acc1dcd0ec730d60af940ccce2fb4747 Mon Sep 17 00:00:00 2001 From: aeris Date: Sat, 17 Dec 2016 14:40:22 +0100 Subject: [PATCH] Check for PSK and SRP ciphers --- lib/cryptcheck/tls/cipher.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cryptcheck/tls/cipher.rb b/lib/cryptcheck/tls/cipher.rb index 9662d75..603d153 100644 --- a/lib/cryptcheck/tls/cipher.rb +++ b/lib/cryptcheck/tls/cipher.rb @@ -100,6 +100,8 @@ module CryptCheck end CHECKS = [ + [:psk, Proc.new { |s| s.psk? }, :critical], + [:srp, Proc.new { |s| s.srp? }, :critical], [:dss, Proc.new { |s| s.dss? }, :critical], [:anonymous, Proc.new { |s| s.anonymous? }, :critical], [:null, Proc.new { |s| s.null? }, :critical],