wolfssl/IDE
Emma Stensland 2ce60030f7
Espressif: esp crt bundle distrust emsign g3 & verify callback fixes (#12222)
* Espressif: parse cert bundle entries as CA_TYPE in the verify callback

With strict ASN, a serial-0 bundle root failed to decode as an X509 and
sent the binary search the wrong way. cert_manager_load() already adds
the root, so drop the X509_STORE add and the init-time zero-serial scan.

* Espressif: accept a cross-signed copy of a cert bundle root

Chains can end in a cross-sign whose issuer left the bundle (Google, and
Sectigo via AAA). Accept it if a bundle root has its subject and key.
With alt cert chains, search each peer cert's issuer (RFC 4158).

* Espressif: drop expired DST Root CA X3 from cacrt_local.pem

The ISRG cross-sign expired Sep 2024; ISRG Root X1 is in cacrt_all.
cacrt_local.pem may now be empty; any other empty PEM input still fails.

* Espressif: update cert bundle to Mozilla 2026-11-05

Drops emSign ECC Root CA - G3 and Comodo AAA (Mozilla bug 2083449).
Unexpired retired roots move to the opt-in deprecated list.

* Espressif: add cmn_crt_authorities.csv for the CMN bundle option

WOLFSSL_CERTIFICATE_BUNDLE_DEFAULT_CMN filters with this file, but it
was never added, so the build failed. Fail on unmatched filter names.

* Espressif: check cert bundle generation for each bundle mode in CI

* Espressif: free only the cert the bundle verify callback created

Without alt cert chains store_cert was the store's current cert, which
wolfSSL frees after the callback, and wolfSSL_bundle_cleanup() too.

* Espressif: fix log format specifiers in esp_crt_bundle.c

The host test builds this file with -Werror on 64-bit hosts, where %x
of an intptr_t and %u of a size_t fail the printf format check.

* Espressif: host test for the cert bundle verify callback

Runs the real esp_crt_bundle.c against fixed chains, with and without
WOLFSSL_ALT_CERT_CHAINS, and checks each bundle mode's sort order.
2026-11-26 08:34:59 +10:00
..
ARDUINO
…
AURIX
…
Android
…
C2000
…
CSBENCH
…
ECLIPSE
…
Espressif Espressif: esp crt bundle distrust emsign g3 & verify callback fixes (#12222) 2026-11-26 08:34:59 +10:00
GCC-ARM
…
Gaisler-BCC
…
HEXAGON
…
HEXIWEAR/wolfSSL_HW
…
IAR-EWARM
…
IAR-MSP430
…
INTIME-RTOS
…
Infineon
…
LINUX-SGX
…
M68K
…
MCUEXPRESSO
…
MDK5-ARM
…
MPLABX16
…
MQX
…
MSVS-2019-AZSPHERE
…
NDS
…
NETOS
…
PlatformIO
…
QNX
…
RISCV
…
ROWLEY-CROSSWORKS-ARM
…
Renesas
…
STARCORE
…
STM32Cube
…
SimplicityStudio
…
VS-AZURE-SPHERE
…
VisualDSP
…
WICED-STUDIO
…
WIN
…
WIN-PQ-FIPSv7
…
WIN-SGX
…
WIN-SRTP-KDF-140-3
…
WIN10
…
WINCE
…
WORKBENCH
…
XCODE
…
XCODE-FIPSv2
…
XCODE-FIPSv5
…
XCODE-FIPSv6
…
XilinxSDK
…
apple-universal
…
iotsafe
…
iotsafe-raspberrypi
…
m33mu-falcon-verify
…
qemu-falcon-neon
…
zephyr
…
include.am
…