From 349d4ebc3c50b603f70d97414cc21de8883e2eba Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sun, 6 Apr 2014 14:15:32 +0200 Subject: [PATCH] more detailed PFS report Just because server supports some bad DH params, doesn't mean it will force them on users. Report number of servers that prefer specific DH params. --- top1m/parse_results.py | 1 + 1 file changed, 1 insertion(+) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index db23887..75b2c04 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -152,6 +152,7 @@ for r,d,flist in os.walk(path): pfsstats['Support PFS'] += 1 if 'DHE-' in results['ciphersuite'][0]['cipher']: pfsstats['Prefer PFS'] += 1 + pfsstats['Prefer ' + results['ciphersuite'][0]['pfs']] += 1 for s in temppfsstats: pfsstats[s] += 1