mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
Merge branch 'bugfix/esp_local_ctrl_arg_check' into 'master'
fix(esp_local_ctrl): validate payload_case matches msg_type in command dispatcher See merge request espressif/esp-idf!45817
This commit is contained in:
@@ -97,6 +97,9 @@ You may set security for transport in ESP local control using following options:
|
||||
3. ``PROTOCOM_SEC0``: specifies that data will be exchanged as a plain text (no security).
|
||||
4. ``PROTOCOM_SEC_CUSTOM``: you can define your own security requirement. Please note that you will also have to provide ``custom_handle`` of type ``protocomm_security_t *`` in this context.
|
||||
|
||||
.. warning::
|
||||
It is strongly recommended to use ``PROTOCOM_SEC2`` for production deployments. ``PROTOCOM_SEC0`` provides no encryption or authentication, leaving device properties exposed to any client on the local network. ``PROTOCOM_SEC1`` provides weaker security compared to ``PROTOCOM_SEC2`` and its use is discouraged for new designs.
|
||||
|
||||
.. note::
|
||||
The respective security schemes need to be enabled through the project configuration menu. Please refer to the Enabling protocom security version section in :doc:`Protocol Communication </api-reference/provisioning/protocomm>` for more details.
|
||||
|
||||
|
||||
@@ -49,6 +49,9 @@ The protocomm component provides a project configuration menu to enable/disable
|
||||
|
||||
Enabling multiple security versions at once offers the ability to control them dynamically but also increases the firmware size.
|
||||
|
||||
.. warning::
|
||||
``protocomm_security0`` provides no encryption or authentication and should not be used in production. ``protocomm_security2`` (SRP6a + AES-GCM) is the recommended security version for all production use cases.
|
||||
|
||||
.. only:: SOC_WIFI_SUPPORTED
|
||||
|
||||
SoftAP + HTTP Transport Example with Security 2
|
||||
|
||||
Reference in New Issue
Block a user