feat(desktop): #159 task 9.3 — panic lock (DUR-04) #164
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!164
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/decoy-passphrase-layer"
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?
User-initiated account freeze (DUR-04, task 9.3).
Server: migration adds users.PanicLockedAt. POST /api/account/panic-lock (authenticated): sets the flag, revokes ALL sessions (Id / mfa-prefixed / wallet-DID forms via InvalidateSessionsForValues), audits security.panic_locked. Login-path gates: TotpVerify blocks with uniform 401 while locked (email+TOTP has no IdP factor, cannot satisfy re-verification); IdpCallback and OidcCallback clear the lock only on an IdP MFA-factor re-auth (identity re-verification per threat model §11); CompleteRecovery also clears. Matrix row added.
Desktop: panic_lock command; UnlockScreen panic-lock trigger (behind confirm) + frozen panel per F-DUR4.
Known pre-existing: AuthzMatrixTests.Sweep_Member_PassesCentralGates fails on main before this PR (authz sweep 401 cascade; unrelated to this PR — confirmed by running main directly).
Pull request closed