Add comment to ProcessgoogleSTARTTLSDomains.py

This commit is contained in:
Jacob Hoffman-Andrews 2014-06-12 11:53:02 -04:00
parent 9cd71642fb
commit 499f6c2fad
2 changed files with 11 additions and 2 deletions

View file

@ -1,4 +1,13 @@
#!/usr/bin/python
"""
Process Google's TLS delivery data from
https://www.google.com/transparencyreport/saferemail/data/?hl=en
to look for outbound domains that can negotiate an encrypted
connection >99% of the time.
Usage:
./ProcessGoogleSTARTTLSDomains.py google-starttls-domains.csv
"""
import csv
import codecs
import sys
@ -14,5 +23,5 @@ for (address_suffix, hostname_suffix, direction, region, fraction_encrypted) in
pass
for address_suffix, fraction_encrypted in d.iteritems():
if min(fraction_encrypted) >= 0.50:
if min(fraction_encrypted) >= 0.99:
print min(fraction_encrypted), address_suffix

View file

@ -3,7 +3,7 @@
"timestamp": 1401093333,
"author": "Electronic Frontier Foundation https://eff.org",
"expires": 1404677353, "comment 2:": "epoch seconds",
"security-policies": {
"tls-policies": {
"*.valid-example-recipient.com": {
"min-tls-version": "TLSv1.1"
}