From 2967cd9d3979c4cef514271a26f6f216d9b3736f Mon Sep 17 00:00:00 2001 From: Aeris Date: Tue, 24 Nov 2015 00:26:58 +0100 Subject: [PATCH] ANSSI recommendation : 3072 bits min MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RGS 2.0 B1, ยง2.2.1.1 (p17) --- lib/cryptcheck/tls/grade.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cryptcheck/tls/grade.rb b/lib/cryptcheck/tls/grade.rb index aac0772..3de740f 100644 --- a/lib/cryptcheck/tls/grade.rb +++ b/lib/cryptcheck/tls/grade.rb @@ -101,8 +101,8 @@ module CryptCheck when 0 then 0 when 0...512 then 10 when 512...1024 then 20 - when 1024...2048 then 50 - when 2048...4096 then 90 + when 1024...3072 then 50 + when 3072...4096 then 90 else 100 end end