Skip to content

Commit 4dd45b6

Browse files
authored
Merge pull request #8374 from dhalbert/new-certificates-submodule
Update TLS certificates and use new certificates submodule
2 parents 6f5a5a5 + 58a2132 commit 4dd45b6

File tree

8 files changed

+9
-12
lines changed

8 files changed

+9
-12
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@
144144
path = ports/espressif/esp-idf
145145
url = https://github.com/adafruit/esp-idf.git
146146
branch = release/v4.4-circuitpython
147-
[submodule "ports/espressif/certificates/nina-fw"]
148-
path = lib/certificates/nina-fw
149-
url = https://github.com/adafruit/nina-fw.git
150147
[submodule "frozen/Adafruit_CircuitPython_ST7789"]
151148
path = frozen/Adafruit_CircuitPython_ST7789
152149
url = https://github.com/adafruit/Adafruit_CircuitPython_ST7789
@@ -341,3 +338,6 @@
341338
[submodule "frozen/Adafruit_CircuitPython_Wave"]
342339
path = frozen/Adafruit_CircuitPython_Wave
343340
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
341+
[submodule "lib/certificates"]
342+
path = lib/certificates
343+
url = https://github.com/adafruit/certificates

lib/certificates

Submodule certificates added at 5c85c60

lib/certificates/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/certificates/nina-fw

Lines changed: 0 additions & 1 deletion
This file was deleted.

ports/espressif/esp-idf-config/sdkconfig-esp32.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y
776776
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set
777777
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE=y
778778
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE=y
779-
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="../../lib/certificates/nina-fw/data/roots.pem"
779+
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="../../lib/certificates/data/roots.pem"
780780
# end of Certificate Bundle
781781

782782
CONFIG_MBEDTLS_ECP_RESTARTABLE=y

ports/espressif/esp-idf-config/sdkconfig.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y
572572
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set
573573
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE=y
574574
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE=y
575-
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="../../lib/certificates/nina-fw/data/roots.pem"
575+
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="../../lib/certificates/data/roots.pem"
576576
# end of Certificate Bundle
577577

578578
CONFIG_MBEDTLS_ECP_RESTARTABLE=y

ports/raspberrypi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ CFLAGS += \
345345
-isystem $(TOP)/lib/mbedtls/include \
346346
-DMBEDTLS_CONFIG_FILE='"mbedtls/mbedtls_config.h"' \
347347

348-
$(BUILD)/x509_crt_bundle.S: $(TOP)/lib/certificates/nina-fw/data/roots.pem $(TOP)/tools/gen_crt_bundle.py
348+
$(BUILD)/x509_crt_bundle.S: $(TOP)/lib/certificates/data/roots.pem $(TOP)/tools/gen_crt_bundle.py
349349
$(Q)$(PYTHON) $(TOP)/tools/gen_crt_bundle.py -i $< -o $@ --asm
350350
OBJ_MBEDTLS := $(BUILD)/x509_crt_bundle.o
351351
$(patsubst %.c,$(BUILD)/%.o,$(SRC_MBEDTLS))): CFLAGS += -Wno-suggest-attribute=format

tools/ci_fetch_deps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"cxd56": ["extmod/ulab/", "lib/tinyusb/"],
2525
"espressif": [
2626
"extmod/ulab/",
27-
"lib/certificates/nina-fw/",
27+
"lib/certificates/",
2828
"lib/protomatter/",
2929
"lib/quirc/",
3030
"lib/tinyusb/",
@@ -37,7 +37,7 @@
3737
"lib/adafruit_floppy/",
3838
"lib/mbedtls/",
3939
"lib/mp3/",
40-
"lib/certificates/nina-fw/",
40+
"lib/certificates/",
4141
"lib/protomatter/",
4242
"lib/quirc/",
4343
"lib/tinyusb/",

0 commit comments

Comments
 (0)