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

Show cert data in sigalg errors

This commit is contained in:
Jan Brasna 2024-11-19 13:12:59 +01:00 committed by GitHub
parent de1a292d1c
commit 07157f02cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ def is_old(results):
failures[lvl].append("add cipher DES-CBC3-SHA") failures[lvl].append("add cipher DES-CBC3-SHA")
isold = False isold = False
if not has_sigalg: if not has_sigalg:
failures[lvl].append("use a certificate signed with %s" % " or ".join(inter["certificate_signatures"])) failures[lvl].append("use a certificate signed with %s" % " or ".join(old["certificate_signatures"]))
isold = False isold = False
if not has_pfs: if not has_pfs:
failures[lvl].append("use DHE of {dhe}bits and ECC of {ecdhe}bits".format( failures[lvl].append("use DHE of {dhe}bits and ECC of {ecdhe}bits".format(