ThePassionate opened a new pull request, #4130: URL: https://github.com/apache/nuttx-apps/pull/4130
## Summary Bump the fetched Mbed TLS version from 3.6.2 to 3.6.5 (the `CONFIG_MBEDTLS_VERSION` default and the controlse dependency), and carry the two Kconfig entries the version brings: `MBEDTLS_SSL_KEYING_MATERIAL_EXPORT` (new API in 3.6.4) and `MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED` (the mapping existed but was unreachable). 3.6.3 to 3.6.5 are bugfix releases with no API break on the side NuttX consumes: the alternate layer headers are byte-identical between 3.6.2 and 3.6.5, and the wrapper's `MBEDTLS_PRIVATE` sites are unaffected (the cipher padding rework of CVE-2025-59438 keeps the `mbedtls_cipher_finish()` semantics). Notable behavior change recorded in the commit message: since 3.6.3, a TLS client without a hostname plus `VERIFY_REQUIRED` fails the handshake (follow-up to CVE-2025-27809); the recovery macro exists upstream and is left off, matching Vela. ## Impact Default version bump only; boards that pin the version explicitly (e.g. esp32s3-devkit:mbedtls at 3.6.4) are unaffected. The three carry-in patches under `crypto/mbedtls/` apply to 3.6.5 unchanged (0003 with a 36-line offset, handled automatically). ## Testing Built from a fresh checkout state (distclean + refetch) with sim:nsh + `CONFIG_CRYPTO_MBEDTLS` + `CONFIG_OPENSSL_MBEDTLS_WRAPPER` + the cmocka test config: 0 warnings, 0 errors. The sim crypto regression (aescbc, des3cbc, aesctr, aesxts, chacha20, chachapoly, hmac) and the PKCS12 test (2/2) produce output byte-identical to the 3.6.2 baseline. Note for local verification: re-extracting the archive over an old build keeps the zip's internal timestamps, which hides the header change from make - a distclean is needed to see the new version actually rebuild. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
