2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-23 06:33:41 +01:00

count ECDH-RSA ciphers as ECDSA

the ECDH parameters come from server certificate - the point
on elliptic curve. The RSA comes from the signature on the certificate
which comes from CA
This commit is contained in:
Hubert Kario 2014-06-24 15:34:44 +02:00 committed by Hubert Kario
parent ded65c40df
commit 3bab715012

View File

@ -138,7 +138,7 @@ for r,d,flist in os.walk(path):
RSA = True RSA = True
""" save the key size """ """ save the key size """
if 'ECDSA' in entry['cipher']: if 'ECDSA' in entry['cipher'] or 'ECDH-RSA' in entry['cipher']:
ECDSA = True ECDSA = True
tempecckeystats[entry['pubkey'][0]] = 1 tempecckeystats[entry['pubkey'][0]] = 1
elif 'DSS' in entry['cipher']: elif 'DSS' in entry['cipher']: