Skip to content

espressif: switch to full root certificate bundle #10354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ports/espressif/esp-idf-config/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=2048
#
# Certificate Bundle
#
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE=y
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE=y
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="../../lib/certificates/data/roots.pem"
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y
# end of Certificate Bundle

# CONFIG_MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER is not set
Expand Down
9 changes: 3 additions & 6 deletions ports/espressif/mpconfigport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ CIRCUITPY_TOUCHIO_USE_NATIVE = 0
CIRCUITPY_USB_DEVICE = 0
CIRCUITPY_ESP_USB_SERIAL_JTAG ?= 1

# Some C3 boards have only 2MB flash
ifeq ($(CIRCUITPY_ESP_FLASH_SIZE),2MB)
CIRCUITPY_BLEIO_NATIVE = 0
endif

else ifeq ($(IDF_TARGET),esp32c6)
# Modules
CIRCUITPY_ESPCAMERA = 0
Expand Down Expand Up @@ -275,8 +270,10 @@ ifeq ($(CIRCUITPY_ESP_FLASH_SIZE),2MB)
CIRCUITPY__EVE = 0
CIRCUITPY_AUDIOMP3 = 0
CIRCUITPY_BITMAPFILTER ?= 0
CIRCUITPY_BLEIO_NATIVE ?= 0
CIRCUITPY_BLEIO_NATIVE = 0
CIRCUITPY_DUALBANK = 0
CIRCUITPY_MAX3421E = 0
CIRCUITPY_RGBMATRIX = 0
OPTIMIZATION_FLAGS ?= -Os
endif

Expand Down