Secure Builds for Secure Software
summary
OpenTitan treats the creator firmware components mask ROM and ROM extension as auditable, reproducible artifacts and chooses Bazel to enforce hermetic builds, sandboxed tool execution and dependency checks. An actual failure arises from an auto‑generated header dependency that makes builds eventually inconsistent rather than bit‑identical. Bazel adds a unified workspace for multi‑language third‑party packages, a queryable dependency graph, test sandboxing and air gap execution so certified offline builds are possible while preserving binary identical reproducibility.
AI-written summary · about
chapters (15)
- 0:00Intro
- 2:04What is OpenTitan
- 3:29OpenTitan Background
- 7:48Why Does OpenTitan Care?
- 9:27A real build failure
- 11:08Revisiting the Problem Statement
- 13:58What properties do we want from the build system?
- 15:25Enter bazel
- 19:49Example Build Rules
- 23:45External / Third Party Dependency Management
- 29:42Understand your Dependency Relationships (part 2)
- 30:52Tests
- 32:15Air-gapped Execution
- 33:46Things we're still learning about
- 36:36Conclusion
