@ -6,6 +6,8 @@ module CryptCheck
super + [
[:hsts, Proc.new { |s| s.hsts? }, :good],
[:hsts_long, Proc.new { |s| s.hsts_long? }, :perfect],
#[:must_staple, Proc.new { |s| s.must_staple? }, :best],
]
end
@ -178,6 +178,10 @@ module CryptCheck
@fallback_scsv
def must_staple?
@cert.extensions.any? { |e| e.oid == '1.3.6.1.5.5.7.1.24' }
private
def name
name = "#@ip:#@port"