Noise Protocol Cuts Reported RAM Use for ESP32 Remote Access
导读
Pinscope’s team says it replaced TLS for an ESP32 maintenance connection with Noise_NK_25519_ChaChaPoly_SHA256, using a server static key known to the device in advance. The article reports a 0.3-second handshake with 100 bytes sent over the wire, and RAM use falling from 23.6 KB with TLS to 9.4 KB with Noise. This is a narrow, single-server workaround rather than a general TLS substitute; the performance figures are reported, not independently verified.
正文

配图暂未加载。 查看来源原图 ↗
The team behind Pinscope had a problem. They needed an ESP32 to stay securely connected to a server, but they didn’t have enough spare RAM on the chip to do TLS, what with everything else going on. Thus, they whipped up a useful workaround to get remote access on an ESP32 without TLS.
Thus, they whipped up a useful workaround to get remote access on an ESP32 without TLS
The team noted they didn’t need the general functionality of TLS. See, TLS is great for connecting any client and server securely with certificates, but it’s a bit heavy when you’re working with a device that only needs to connect to one server for maintenance. The team decided the device just needed to ID whether it was talking to the real server, it must ensure credentials are sent over the wire encrypted, and messages should not be able to be replayed, read, reordered, or otherwise changed while in transit.
The solution to this problem was the Noise protocol. Specifically, Noise_NK_25519_ChaChaPoly_SHA256, where the server uses a static key which the device knows in advance. Since only the holder of the server’s private key can properly finish a handshake, the device knows it’s talking to the real server, and the entire handshake takes just 0.3 seconds on the ESP32, with just 100 bytes sent over the wire. The results are compelling. The ESP32 needed 23.6 KB of RAM to stay connected via TLS, while this dropped to just 9.4 KB using the Noise protocol.
If you need to lighten the burden on a remotely-connected ESP32, you might find this work very useful. Files are on Github for the curious.
Source: Zoe Skyforest ·Hackaday · 2026-11-28T00:00:09.000Z · Read the original article
推荐理由
The article gives a concrete ESP32 connectivity workaround and reported memory figures, but it concerns a narrow use case and provides no independent validation.
AI评分 55 · 查看评分依据
双模型按来源原文评估阅读价值,不判断事实真伪;本站整理正文仍应与原文核对。
- gpt-6-luna · 56
The article gives a concrete ESP32 connectivity workaround and reported memory figures, but it concerns a narrow use case and provides no independent validation.
- deepseek-flash · 55
Concrete engineering tradeoff with named protocol and reported RAM/handshake figures for ESP32 remote access; numbers are team-reported, and the link contents were not independently read.
分析时间:2026.11.28 00:13 UTC







评论与解答 0