mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Add comment to ProcessgoogleSTARTTLSDomains.py
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user