The Bootstrapping Exam: Escaping from “Trusting Trust”(devever.net)
devever.net
The Bootstrapping Exam: Escaping from “Trusting Trust”
https://www.devever.net/~hl/bootstrapping-exam
3 comments
I assume step 7 could be accomlished by tccboot, a c compiler capable of booting linux straight from source code. Expand it with the possibiliy to show the hash of the source code in ROM. No POSIX system needed. You'll need to translate the 140k C source to assembler, time consuming but not impossible.
https://bellard.org/tcc/tccboot.html
https://bellard.org/tcc/tccboot.html
This is the ultimate "test your backups and recovery" story. If we can't do this all modern technology is at risk.
Which is a big assumption. Going to such extreme measures to bootstrap from scratch could be worth it if it provided an ironclad guarantee you couldn't get any other way. But if, after all that, you're still relying on a giant mass of proprietary code that just happens to be written in Verilog instead of C… then what's the point?
That said, for a recent attempt to at least make progress on trustable hardware, see Precursor:
https://www.crowdsupply.com/sutajio-kosagi/precursor