docs(design): M8-3 desktop KEM key provisioning — server-truth SK blob, unlock-hooked, multi-device safe (#223) #226
No reviewers
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit!226
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/m8-3-kem-provisioning-design"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Design for M8-3 (audit #214), first work item of M4 epic #223. Doc:
docs/plans/2026-11-18-m8-3-kem-key-provisioning-design.md.The four decisions to review
encrypted_private_keysAES-GCM under the account master key; local settings = cache) — this is what makes the second-device path reconstruct instead of regenerate-and-clobber. Alternative (device-local-only SKs) rejected with rationale in §4.1.public_keys+encrypted_private_keys); never touchKemPublicKey(pairing/recovery channel) orencrypted_master_key/salt (desktop keeps master key keychain-local). Fields verified nullable-partial server-side — zero server change.{v:1, ml_kem_pk, kaz_kem_pk, ml_dsa_pk?, kaz_sign_pk?}— spec'd as the 2.5 wallet-convergence target (§4.3).Open questions in §8 (race acceptance, partial-settings self-heal, schema
vfield) — flagged non-blocking, recommendations included. TDD plan §6 (8 cases incl. fresh-install repro + second-device path).