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
This commit is contained in:
Hubert Kario 2014-10-04 12:51:34 +02:00 committed by Julien Vehent
parent 4c05897be2
commit 29109f1e64
1 changed files with 6 additions and 0 deletions

View File

@ -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']: