mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
fix is_fubar key size check
This commit is contained in:
parent
a53a91695e
commit
86bc8e8574
@ -53,7 +53,7 @@ def is_fubar(results):
|
|||||||
has_ssl2 = True
|
has_ssl2 = True
|
||||||
logging.debug('SSLv2 is in the list of fubar protocols')
|
logging.debug('SSLv2 is in the list of fubar protocols')
|
||||||
fubar = True
|
fubar = True
|
||||||
if conn['pubkey'] < 2048:
|
if int(conn['pubkey'][0]) < 2048:
|
||||||
has_wrong_pubkey = True
|
has_wrong_pubkey = True
|
||||||
logging.debug(conn['pubkey'] + ' is a fubar pubkey size')
|
logging.debug(conn['pubkey'] + ' is a fubar pubkey size')
|
||||||
fubar = True
|
fubar = True
|
||||||
|
Loading…
Reference in New Issue
Block a user