meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.35k stars 816 forks source link

Implement GPIO pin allowlist for Remote Hardware module #4882

Open Kealper opened 8 hours ago

Kealper commented 8 hours ago

This PR addresses an issue that was recently discovered with the Remote Hardware module that would allow others on the local mesh full access to read or write to any GPIO pin regardless of pin allowlist settings on the local node if Remote Hardware was enabled, even if it wasn't configured to allow any GPIO pin access.

The groundwork had been laid previously in other parts of the project to implement this, and this PR should finish that.