My ongoing quest to build the worlds most secure lightbulb continues. Hugh the lightbulb version two!
https://github.com/CHERIoT-Platform/cheriot-demos/pull/13
Now with end-to-end encryption! The key is not accessible from the compartment that has access to the network, so we're now up to 12 compartments, between the core RTOS bits, the network stack, and the three for the lightbulb control.
It now uses a small amount over 256 KiB of total code + data memory, so needs to run on Sonata 1.0 or later.