Comments on: ESP32: ESP-NOW Encrypted Messages https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 06 Aug 2024 11:37:04 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Arrtt https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-945755 Tue, 06 Aug 2024 11:37:04 +0000 https://randomnerdtutorials.com/?p=116459#comment-945755 How to add peer about many to one with encrypted?

]]>
By: utta, https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-920397 Sat, 01 Jun 2024 02:31:52 +0000 https://randomnerdtutorials.com/?p=116459#comment-920397 In reply to Theo.

Pls Send receiver Code send me my e mail id – uttamkholiya@gmail.com

]]>
By: Harry https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-916686 Mon, 20 May 2024 08:17:21 +0000 https://randomnerdtutorials.com/?p=116459#comment-916686 Sender authentication still seems to be an issue, and Espressif did not fix this issue by now (ESP-IDF 5.2.1). Senders can easily set their MAC addresses and thus spoof messages without knowing PMK or LMK. For security critical applications, users need to use authentication on the application level, for example by using a shared key to create an HMAC, and include it in the payload. The disadvantage is that this will create more latency if that is a concern.

]]>
By: Paquito Dy https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-893380 Thu, 22 Feb 2024 03:01:20 +0000 https://randomnerdtutorials.com/?p=116459#comment-893380 In reply to Sara Santos.

Hi, I hope you can feature in your future video about code protecting ESP-32 in Arduino IDE. Setting fuses, but how ? Thanks for your excellent tutorials. Been enjoying & learning. Cheers from the Philippines.

]]>
By: zygfryd https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-878702 Tue, 19 Dec 2023 10:53:38 +0000 https://randomnerdtutorials.com/?p=116459#comment-878702 important to remember: when encryption used, only 6 peers as per Espressif documentation:
“If unicast packets are used, up to 20 devices can be paired and controlled at the same time. If ESP-NOW encrypted mode is used, up to 6 devices can be paired and controlled at the same time.”

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-872519 Fri, 17 Nov 2023 09:44:08 +0000 https://randomnerdtutorials.com/?p=116459#comment-872519 In reply to JO.

Hi.
Please read the following section on the tutorial:
“Create the PMK and LMK keys for this device on the following lines. It can be made of numbers and letters and the keys are 16 bytes (you can search online for “online byte counter” to check the length of your keys).”

Regards,
Sara

]]>
By: JO https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-872334 Thu, 16 Nov 2023 07:53:09 +0000 https://randomnerdtutorials.com/?p=116459#comment-872334 Thank you for tutorial.

Could you please explain how to generate keys for encryption.

Many thanks

]]>
By: Theo https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-853251 Fri, 04 Aug 2023 23:18:07 +0000 https://randomnerdtutorials.com/?p=116459#comment-853251 Your receiver code game me the following error:
E (128) ESPNOW: Peer interface is invalid
Failed to add peer

I solved this by moving the line:
esp_now_peer_info_t peerInfo;
from inside the Setup() function to outside of it.

]]>
By: Gerald Lee Harris Jr https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-844782 Mon, 03 Jul 2023 01:22:39 +0000 https://randomnerdtutorials.com/?p=116459#comment-844782 In reply to Sara Santos.

Hi, I love your tutorials but i cant find one on how to enable encryption between the esp-32 and esp8266.

Can you point me to an example?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp-now-encrypted-messages/#comment-842097 Wed, 21 Jun 2023 09:43:19 +0000 https://randomnerdtutorials.com/?p=116459#comment-842097 In reply to Drake.

Hi.
Are you specifying the MAC address of the peer?
Regards,
Sara

]]>