Esp32-padlock: Securely lock and unlock your esp32 RISC-V device over an encrypted web endpoint

⚓ Rust    📅 2025-09-27    👤 surdeus    👁️ 8      

surdeus

Warning

This post was published 34 days ago. The information described in this article may have changed.

This app can be used as a template for building web-authorized embedded applications for esp32-cX series of IoT chips. It serves web pages locked.html for a locked device and unlocked.html for unlocked. The user can enter a password to a web form on these pages to lock or unlock the device.

Screenshot_20250926_225802

Once unlocked, an AtomicBool flag named DEVICE_LOCK gets set to false. Default value for this flag is true, which means device boots as locked, but this can be changed in main.rs file. This flag can then be used to enable or disable whatever further functionality on the device.

1 post - 1 participant

Read full topic

🏷️ Rust_feed