From 39c3e1978a65f69348e714a5cec15c8717b54bfc 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 3f58aac..06c4152 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