mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
Merge branch 'master' of github.com:jvehent/cipherscan
This commit is contained in:
commit
8b38f8fad9
@ -62,7 +62,7 @@ def is_fubar(results):
|
|||||||
has_wrong_pfs = True
|
has_wrong_pfs = True
|
||||||
if 'md5WithRSAEncryption' in conn['sigalg']:
|
if 'md5WithRSAEncryption' in conn['sigalg']:
|
||||||
has_md5_sig = True
|
has_md5_sig = True
|
||||||
logging.debug(conn['sigalg']+ ' is a fubar cert signature')
|
logging.debug(conn['sigalg'][0] + ' is a fubar cert signature')
|
||||||
fubar = True
|
fubar = True
|
||||||
if conn['trusted'] == 'False':
|
if conn['trusted'] == 'False':
|
||||||
has_untrust_cert = True
|
has_untrust_cert = True
|
||||||
|
@ -19,7 +19,7 @@ if [ "$(uname -s)" == "Darwin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# cipherscan requires bash4, which doesn't come by default in OSX
|
# cipherscan requires bash4, which doesn't come by default in OSX
|
||||||
if [ "$(bash --version |grep 'version 4')" == "" ]; then
|
if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
|
||||||
echo "Bash version 4 is required to run cipherscan."
|
echo "Bash version 4 is required to run cipherscan."
|
||||||
echo "Please upgrade your version of bash (ex: brew install bash)."
|
echo "Please upgrade your version of bash (ex: brew install bash)."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user