mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 22:33:40 +01:00
parse_CAs.py - add support for MD5 sigs
This commit is contained in:
parent
1aeff568ee
commit
0adf721643
@ -85,7 +85,9 @@ def rsa_key_size_to_los(size):
|
|||||||
return 256
|
return 256
|
||||||
|
|
||||||
def sig_alg_to_los(name):
|
def sig_alg_to_los(name):
|
||||||
if 'SHA1' in name.upper():
|
if 'MD5' in name.upper():
|
||||||
|
return 64
|
||||||
|
elif 'SHA1' in name.upper():
|
||||||
return 80
|
return 80
|
||||||
elif 'SHA224' in name.upper():
|
elif 'SHA224' in name.upper():
|
||||||
return 112
|
return 112
|
||||||
|
Loading…
Reference in New Issue
Block a user