mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
This is going to require users to update their devices before doing a key initialization. The problem is that we can't trust the length of data presented to us to self-sign, so we sign the whole area. In v0.9.2 of the loader, a check was introduced to check the putative length of the signed area against the actual length of the signed area, by encoding the length of the signed area within the signed region. This would require the rootkeys algorithm to also encode that new length at the end of the signed area, but this was never done. However, this bug was never found during testing probably because I failed to completely erase the original key provisioning (I was more fixated on checking that existing keys were not damaged by firmware updates at the time), and thus did not trigger a full rootkey provisioning cycle when I did the test. I had only just caught it now while porting the PDDB from simulation to real hardware. |
||
|---|---|---|
| .. | ||
| fonts | ||
| args.rs | ||
| asm.S | ||
| debug.rs | ||
| font6x12.png | ||
| font6x12_1bpp.raw | ||
| fonts.rs | ||
| generate_fonts.py | ||
| main.rs | ||
| murmur3.rs | ||
| secboot.rs | ||
| test.rs | ||