From 93ecd894c63ae90635416e102ad2813f94bd2a6f Mon Sep 17 00:00:00 2001 From: gnorbsl <6427935+gnorbsl@users.noreply.github.com> Date: Wed, 2 Sep 2020 18:23:42 +0200 Subject: [PATCH 1/2] Update certs-from-mozilla.py Looks like Mozilla changed the csv, certs are now at row 32 --- .../examples/BearSSL_CertStore/certs-from-mozilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py b/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py index 68881c709c..d5faf375cd 100755 --- a/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py +++ b/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py @@ -35,7 +35,7 @@ csvReader = csv.reader(csvFile) for row in csvReader: names.append(row[0]+":"+row[1]+":"+row[2]) - pems.append(row[30]) + pems.append(row[32]) del names[0] # Remove headers del pems[0] # Remove headers From 3ee3be307d3948a441a98aa05c1494dcaf405d3c Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Wed, 2 Sep 2020 19:18:22 -0700 Subject: [PATCH 2/2] Update certs-from-mozilla.py --- .../examples/BearSSL_CertStore/certs-from-mozilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py b/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py index d5faf375cd..88e3f398d2 100755 --- a/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py +++ b/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py @@ -24,7 +24,7 @@ # Mozilla's URL for the CSV file with included PEM certs mozurl = "https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV" -# Load the manes[] and pems[] array from the URL +# Load the names[] and pems[] array from the URL names = [] pems = [] response = urlopen(mozurl)