feat(desktop): H-4 trustee-only recovery alignment + KEY-17 cancel path (#136 slice 2 client) #141
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!141
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/desktop-recovery-alignment"
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?
Desktop-client alignment with the landed H-4/KEY-17 server contracts (#136 slices 1-2) + CI hardening:
Recovery alignment:
CI hardening (desktop-ci flake fixes -- 12399/12400/12404):
Validation: desktop-ci SUCCESS on final head (12402 + 12407); local suite 75 files / 1280 passed + 1 skipped; cargo check clean; lint 0 errors (10 pre-existing warnings). Client portion of #136 slices 1-2; server slices landed in #137/#138.
- Tauri: upload_recovery_server_share → setup_recovery_trustee_only — key proof derived Rust-side from the stored KEM public key (fixes the latent break: the frontend never had a key_proof source under the new contract); get_server_share command + service fn + ServerShareResponse removed (endpoint gone server-side); cancel_recovery_request added. - tauri.ts: setupRecovery() parameterless; cancelRecoveryRequest(); splitMasterKey maps indexed tuples → { file1, file2 } (share 3 discarded client-side, never uploaded); recoverWithFileAndServer removed. - Wizard step 3: activation only — server-share upload copy gone. - RecoveryPage: file-and-server path removed (endpoint gone server-side; Rust command didn't exist for it either); 2-files path remains. - Notifications: recovery_alert + recovery_cancelled types with icon/color cases (panel + dropdown filter). - tsbuildinfo artifacts gitignored. Suite 1280 passed + 1 skipped; cargo check clean; lint 0 errors.- Tauri: upload_recovery_server_share → setup_recovery_trustee_only — key proof derived Rust-side from the stored KEM public key (fixes the latent break: the frontend never had a key_proof source under the new contract); get_server_share command + service fn + ServerShareResponse removed (endpoint gone server-side); cancel_recovery_request added. - tauri.ts: setupRecovery() parameterless; cancelRecoveryRequest(); splitMasterKey maps indexed tuples → { file1, file2 } (share 3 discarded client-side, never uploaded); recoverWithFileAndServer removed. - Wizard step 3: activation only — server-share upload copy gone. - RecoveryPage: file-and-server path removed (endpoint gone server-side; Rust command didn't exist for it either); 2-files path remains. - Notifications: recovery_alert + recovery_cancelled types with icon/color cases (panel + dropdown filter). - KEY-17 tests: owner cancel surfaces; reauth gate messaging surface. Suite 1280 passed + 1 skipped; cargo check clean; lint 0 errors.- SharedWithMePage: persistent mockResolvedValue fallback in beforeEach — Once-chains exhaust on multi-invoke components and later invokes return undefined ('Network error' cascades seen in desktop-ci 12399/12404). - MySharesPage: waitFor timeouts 1s → 3s (dialog-close assertions at default timeout are load-sensitive; flaked in desktop-ci 12400). Both classes green; full suite green.