mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
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:
parent
4c05897be2
commit
29109f1e64
@ -96,6 +96,7 @@ for r,d,flist in os.walk(path):
|
|||||||
ciphertypes += 1
|
ciphertypes += 1
|
||||||
name = "z:" + entry['cipher']
|
name = "z:" + entry['cipher']
|
||||||
tempcipherstats[name] = 1
|
tempcipherstats[name] = 1
|
||||||
|
tempcipherstats['Insecure'] = 1
|
||||||
elif 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']:
|
elif 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']:
|
||||||
if not AESGCM:
|
if not AESGCM:
|
||||||
AESGCM = True
|
AESGCM = True
|
||||||
@ -120,10 +121,15 @@ for r,d,flist in os.walk(path):
|
|||||||
if not CHACHA20:
|
if not CHACHA20:
|
||||||
ciphertypes += 1
|
ciphertypes += 1
|
||||||
CHACHA20 = True
|
CHACHA20 = True
|
||||||
|
elif 'IDEA' in entry['cipher'] or 'SEED' in entry['cipher']:
|
||||||
|
ciphertypes += 1
|
||||||
|
name = "y:" + entry['cipher']
|
||||||
|
tempcipherstats[name] = 1
|
||||||
else:
|
else:
|
||||||
ciphertypes += 1
|
ciphertypes += 1
|
||||||
name = "z:" + entry['cipher']
|
name = "z:" + entry['cipher']
|
||||||
tempcipherstats[name] = 1
|
tempcipherstats[name] = 1
|
||||||
|
tempcipherstats['Insecure'] = 1
|
||||||
|
|
||||||
""" store key handshake methods """
|
""" store key handshake methods """
|
||||||
if 'ECDHE' in entry['cipher']:
|
if 'ECDHE' in entry['cipher']:
|
||||||
|
Loading…
Reference in New Issue
Block a user