mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Add comment to ProcessgoogleSTARTTLSDomains.py
This commit is contained in:
parent
9cd71642fb
commit
499f6c2fad
2 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue