From 29109f1e640570d2f159556df56c5c9e70e3e142 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sat, 4 Oct 2014 12:51:34 +0200 Subject: [PATCH] update SEED and IDEA classification, do a total of broken ciphers SEED and IDEA are not good ciphers, but not broken, so count them separately, do a total count of servers that support broken and insecure ciphers --- top1m/parse_results.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index ee3ca31..5766c2d 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -96,6 +96,7 @@ for r,d,flist in os.walk(path): ciphertypes += 1 name = "z:" + entry['cipher'] tempcipherstats[name] = 1 + tempcipherstats['Insecure'] = 1 elif 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']: if not AESGCM: AESGCM = True @@ -120,10 +121,15 @@ for r,d,flist in os.walk(path): if not CHACHA20: ciphertypes += 1 CHACHA20 = True + elif 'IDEA' in entry['cipher'] or 'SEED' in entry['cipher']: + ciphertypes += 1 + name = "y:" + entry['cipher'] + tempcipherstats[name] = 1 else: ciphertypes += 1 name = "z:" + entry['cipher'] tempcipherstats[name] = 1 + tempcipherstats['Insecure'] = 1 """ store key handshake methods """ if 'ECDHE' in entry['cipher']: