Docker image to deploy the Sancus Event Manager
The EM is not maintained anymore, as it was developed for an outdated version of sancus-riot. However, the source code is provided here so that it can be (partially) reused by other developers. This code is licensed as MIT.
2022-03_sancus-128-8mhz.mcs
is the Sancus image with 128 bits of security, running at 8MHz- Node key:
deadbeefcafebabec0defeeddefec8ed
- Vendor key (if ID == 0x1234 (4660)):
0b7bf3ae40880a8be430d0da34fb76f0
- Node key:
The docker image takes care to automatically upload the EM application on the Sancus node. Check out the Makefile and run.sh for more details.
- Three different ELF files are provided:
reactive.elf
is the latest event manager, with no embedded SMs.reactive_debug.elf
is the same application, but with more verbose prints so it can be used for debugging purposesreactive_led.elf
also embeds two SMs (pmodled
andled_driver
) for establishing Secure I/O on an LED connected to the Sancus nodeled_driver
module key:2fad83949557b707c1bcedd0a8084ef2
(with the default node and vendor keys)
sancus-crypto --gen-vendor-key <vendor_id_hex> --key <node_key>
sancus-crypto <elf_file> --gen-sm-key <module_name> --key <vendor_key>
readelf -s --wide reactive.elf | grep <name>
- This is particularly useful to check the IDs of outputs/inputs of SMs embedded in the ELF (such as
led_driver
)