SHOULD C17: Desktop unlock-path contract drift + second-device fork still reachable #183

Closed
opened 2026-11-12 06:30:59 +01:00 by amiryahaya · 0 comments
Owner

commands/auth.rs:83,136 + state.rs:291 call bare state.unlock() (no ensure_ready) though unlock_session documents key loading; ensure_ready->create() (master_key_service.rs:161-189) silently mints a NEW key on any unpaired device — the fork pairing was built to prevent. Restart+valid session: app unlocked, first upload 'Master key not loaded'. Fix: delete the 3 bare unlock calls; create() refuses (or explicit UI confirm flag) when server wraps exist from other devices.

commands/auth.rs:83,136 + state.rs:291 call bare state.unlock() (no ensure_ready) though unlock_session documents key loading; ensure_ready->create() (master_key_service.rs:161-189) silently mints a NEW key on any unpaired device — the fork pairing was built to prevent. Restart+valid session: app unlocked, first upload 'Master key not loaded'. Fix: delete the 3 bare unlock calls; create() refuses (or explicit UI confirm flag) when server wraps exist from other devices.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#183
No description provided.