Commit Graph

248 Commits

Author SHA1 Message Date
Aditya Patwardhan
9c1dcca1af fix(esp-tls): address MR review comments for SE PSA driver
- esp_tls_mbedtls: require cert when PSA-backed server/client key is set
- esp_tls_mbedtls: drop redundant pk_init/x509_crt_init (calloc handles it)
- psa SE driver: copy callbacks/opaque_key by value (no lifetime coupling)
- psa SE driver: replace atomic CAS with simple null check on register
- psa SE driver: use sig_len from sign callback with bounds validation
- psa SE driver: validate pubkey_len returned by export_pubkey callback
- psa SE driver: check hash sub-alg in RSA PKCS1V15 branch of validate_request
- psa SE driver: align secure_element_register_callbacks doc with value-copy impl
- esp_https_server: initialize server_key in HTTPD_SSL_CONFIG_DEFAULT
- mbedtls: move SECURE_ELEMENT_DRIVER_ENABLED to esp_config.h for parity
  with ESP_ECDSA_DRIVER_ENABLED; drop target_compile_definitions
- docs: fix esp_tls_cfg_t -> esp_http_client_config_t cross-reference
- docs: check psa_import_key() status in ESP-TLS PSA example
- hints/error_output: point at CONFIG_MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED

(cherry picked from commit 08b567ef3b)
2026-07-09 11:17:02 +05:30
Aditya Patwardhan
b6bc9710a1 docs(esp-tls): Update documentation for unified key interface and SE driver
Update esp_tls, esp_http_client docs and migration guide to reflect
the new esp_key_config_t interface and secure element PSA driver.

(cherry picked from commit 37808e2386)
2026-07-09 11:17:01 +05:30
Aditya Patwardhan
e889a304c5 feat(mbedtls): Add PSA Crypto driver for external secure elements
Add generic secure element PSA driver with runtime callback registration.
Consolidate Kconfig into single MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED option.

Closes https://github.com/espressif/esp-idf/issues/18388

(cherry picked from commit 1c20f525b4)
2026-07-09 11:14:15 +05:30
harshal.patil
3c4586abff feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-07-03 10:25:48 +05:30
Ashish Sharma
0f11ac0623 feat(esp_http_client_mutual_auth): add mutual TLS example
Closes https://github.com/espressif/esp-idf/issues/18393
2026-06-25 10:41:00 +08:00
Jim
f25d49fbdc feat(esp_http_client): Add API to support set event handler 2026-05-12 13:59:01 +08:00
Marius Vikhammer
2baddb3295 docs: refresh broken documentation links 2026-04-13 09:47:46 +08:00
Jiang Jiang Jian
c9daea6b54 Merge branch 'feat/improve_ws_server_handshake_handling_v6.0' into 'release/v6.0'
feat(http_server): improve websocket server handling (v6.0)

See merge request espressif/esp-idf!46247
2026-03-20 10:38:23 +08:00
Aditya Patwardhan
305b04da81 Merge branch 'feat/adds_option_to_save_response_headers_v6.0' into 'release/v6.0'
feat(esp_http_client): adds support to save response headers (v6.0)

See merge request espressif/esp-idf!45509
2026-03-19 19:44:27 +05:30
Ashish Sharma
222d470312 feat(http_server): improve websocket server handling
1. Adds post handshake callback
2. Removes requirement to handle HTTP_GET message in websocket handler

Closes https://github.com/espressif/esp-idf/issues/18215
2026-03-04 14:00:12 +08:00
Mahavir Jain
439026e5ea docs(protocomm): recommend using security2 scheme for production purpose 2026-02-17 11:46:11 +05:30
renpeiying
c2838dfe91 docs: Update CN translation 2026-02-06 11:47:00 +05:30
Aditya Patwardhan
742f2e2c3c feat(docs): Added migration guide 2026-02-06 11:46:59 +05:30
Aditya Patwardhan
b0844ddfdd feat(esp-tls): Added support to register custom tls stack
* Removed the esp_tls_wolfssl layer from esp-tls
    * Migrated Error codes
2026-02-06 11:46:55 +05:30
Ashish Sharma
c8f1fa86a2 feat(esp_http_client): adds support to save response headers
Closes https://github.com/espressif/esp-idf/issues/17695
2026-02-03 14:40:08 +08:00
Espressif BOT
5891d8acae change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2025-12-11 10:45:57 +05:30
Espressif BOT
de99f3cffa change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2025-12-11 10:45:50 +05:30
Zhang Shuxian
7e8bf83aa6 docs: Update CN translation 2025-11-14 10:53:56 +01:00
Euripedes Rocha Filho
dcf03ca0d2 remove(mqtt): Moves esp-mqtt to component manager
esp-mqtt is now a managed component at espressif/mqtt
2025-11-14 10:53:56 +01:00
Ashish Sharma
efd24c27db feat(mbedtls): update to version 3.6.5 2025-11-11 16:43:07 +08:00
Wei Yu Han
398c09a1a8 docs(ble): Replaced BLE with Bluetooth LE
(cherry picked from commit acc8a99aae)

Co-authored-by: Wei Yuhan <weiyuhan@espressif.com>
2025-10-30 14:24:12 +08:00
nilesh.kale
f3dd701289 docs: move ecdsa documentation under soc capability for esp_http_client.rst 2025-09-25 13:53:55 +05:30
Mahavir Jain
632dac5feb Merge branch 'doc/adds_sni_documentation' into 'master'
docs(esp_http): adds documentation regarding sni

See merge request espressif/esp-idf!41586

Related https://github.com/espressif/esp-idf/issues/9392
2025-09-02 09:26:12 +05:30
Ashish Sharma
08a4a2b506 docs(esp_tls): adds documentation regarding sni 2025-08-29 16:13:42 +08:00
Ashish Sharma
6acdf78438 Merge branch 'doc/add_tls_client_session_management_doc' into 'master'
docs: Adds doc for client session tickets

Closes IDF-13019

See merge request espressif/esp-idf!39521
2025-08-28 16:12:58 +08:00
renpeiying
773c6ba164 docs: Update translation for esp_tls.rst 2025-08-28 14:26:09 +08:00
Shen Meng Jing
c37d4a6512 Merge branch 'docs/sync_cn_and_en' into 'master'
docs: Sync CN and EN docs

Closes DOC-11933

See merge request espressif/esp-idf!41027
2025-08-15 22:25:46 +08:00
nilesh.kale
dedc9889de feat: added config member to store block number for hign part of ecdsa key 2025-08-11 16:01:10 +05:30
nilesh.kale
08e781c876 feat: added new config member to provide ecdsa curve type 2025-08-11 16:01:09 +05:30
Shen Mengjing
1319fe05e1 docs: Sync CN and EN docs 2025-08-11 17:42:59 +08:00
Shen Meng Jing
e58562e030 Merge branch 'docs/update_cn_mbedtls' into 'master'
docs: Update the CN translation for mbedtls.rst

Closes DOC-11889

See merge request espressif/esp-idf!40956
2025-08-11 10:06:36 +08:00
Shen Mengjing
dfd3ccf5fd docs: Update the CN translation for mbedtls.rst 2025-08-06 11:32:14 +08:00
aleks
50e724a534 remove(modbus): remove modbus examples in IDF v6.0 2025-07-31 18:10:34 +08:00
Aditya Patwardhan
a783974d00 Merge branch 'feat/support_authentication_feature_for_ws' into 'master'
Added pre handshake callback for websocket

Closes IDF-13605

See merge request espressif/esp-idf!40706
2025-07-31 15:04:07 +05:30
hrushikesh.bhosale
a40ceffb19 feat(esp_http_server): Added pre handshake callback for websocket
1. If the user wants authenticate the request, then user needs to do
this before upgrading the protocol to websocket.
2. To achieve this, added pre_handshake_callack, which will execute
before handshake, i.e. before switching protocol.
2025-07-31 11:06:18 +05:30
Ashish Sharma
d9c431268a feat(mbedtls): restructure mbedtls configuration page 2025-07-30 17:47:54 +08:00
morris
70d62b1a54 feat(restful_server): upgrade the example to use vue3+vuetify3
also cleaned up the backend firmware to use littlefs filesystem.
2025-07-21 12:03:10 +08:00
shenmengjing
8f5e74ee86 docs: Update the CN translation for esp_crt_bundle.rst 2025-07-16 10:19:48 +08:00
nilesh.kale
5cc874068d feat(esp_http_client): added event HTTP_EVENT_ON_STATUS_CODE
This commit added event HTTP_EVENT_ON_STATUS_CODE and
acquire response status code before header or data.
2025-07-08 17:45:18 +05:30
Mahavir Jain
5301d39fa7 Merge branch 'feat/update_mbedtls_3.6.4' into 'master'
feat(mbedtls): update to version 3.6.4

See merge request espressif/esp-idf!40272
2025-07-04 09:33:13 +05:30
Chen Jichang
5909a4d685 remove(essl): remove essl related files 2025-07-03 11:36:45 +08:00
Ashish Sharma
9c546002cb feat(mbedtls): update to version 3.6.4 2025-07-03 11:23:34 +08:00
Ashish Sharma
cabb5009f2 feat(esp_crt): adds support for cross signed root certificates 2025-06-26 16:01:11 +08:00
hrushikesh.bhosale
8026e7acc7 docs(http_server): Updated the http_server doc regarding thread safety
Updated the http_server documentation mentioning that, APIs used in
http_server aren't thread safe

Closes https://github.com/espressif/esp-idf/issues/15877
2025-06-19 11:49:18 +05:30
Aditya Patwardhan
f4e8813d45 Merge branch 'contrib/github_pr_15972' into 'master'
feat(esp_http_client): Event to signal last header downloaded (GitHub PR)

See merge request espressif/esp-idf!39309
2025-06-10 13:08:10 +05:30
Espressif BOT
da1842ea0f change(mbedtls/crt_bundle): Update esp_cmn_crt_bundle certificates 2025-06-08 13:35:51 +05:30
Ashish Sharma
f3da3ef9d4 docs(protocols/esp-tls): adds doc for client session tickets 2025-05-29 17:57:40 +08:00
Espressif BOT
e6d92ab49c change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2025-05-28 23:16:47 +05:30
Richard Allen
30758d9beb feat(esp_http_client): Event to signal last header download
When parsing ND-JSON streams, this is needed to indicate the
point when the ND-JSON stream is considered open, which
occurs just after the last HTTP_EVENT_ON_HEADER.

ND-JSON stream clients cannot rely on the first HTTP_EVENT_ON_DATA,
since that is only triggered by an event, which are optional and
may never be sent, or only sent well after the last HTTP_EVENT_ON_HEADER.

Closes #15952
2025-05-28 08:50:28 -05:00
Mahavir Jain
9707baf05c Merge branch 'feat/httpd_uri_handler_doc_update' into 'master'
feat(esp_http_server): Added httpd URI handler docs

See merge request espressif/esp-idf!37560
2025-04-08 13:59:49 +08:00