design: #9 MSK-derived TEE key architecture — design doc#30
design: #9 MSK-derived TEE key architecture — design doc#30hanwencheng wants to merge 1 commit intomainfrom
Conversation
Draft design doc for GitHub issue #9 (MSK-derived TEE key architecture). Documents the target MSK model, key derivation, properties (single-key storage, seamless rotation, safe soft derivation in TEE-only custody, partition isolation), and sequencing. Open questions for Kai and the project lead are listed at the bottom. This PR ships ONLY the design doc — implementation is blocked on human + Kai sign-off of the architecture, and coordinated work in the Heima tee-worker/omni-executor crate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Codex review (via gstack VerdictThe new design note bakes in two migration assumptions that do not match the repository’s current Heima model: MSK rotation is treated as address-stable, and legacy random wallet keys are treated as re-derivable from a new MSK. Those issues should be resolved before this plan is relied on for implementation. Full review comments:
— codex |
Summary
Draft design doc for GitHub issue #9. Ships only the doc — implementation work in the Heima TEE worker is blocked on human + Kai sign-off.
What's in the doc
Review ask
Please review and answer the 5 open questions befo we open implementation PRs. Specifically:
Test plan
Docs-only. No code impact.
Issue
Tracks #9. Design sign-off is a prerequisite for implementation work — a follow-up PR will add the code changes once the design is approved.
🤖 Generated with Claude Code
Codex review (2026-04-14): ✅ Approved — no actionable findings. See the codex comment above for details.