Add a setting to turn off auto-lock #14
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/plainwallet!14
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/autolock-setting"
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?
Adds Settings → Lock after 15 minutes without use, on by default.
storage.localas a MAC under the vault key. A website's process (Firefox content process) can delete it, which only turns auto-lock back on, but it can't forge "off". When the wallet is locked, there's nothing to check the MAC against, so auto-lock counts as on.storage.session) and with the Lock button.touch()arms the 15-minute alarm only when auto-lock is on, and clears it otherwise.Checks
npm testpasses.test-reset.jscovers: turning auto-lock off clears the alarm, the setting survives lock/unlock, a forged value keeps auto-lock on, the wallet reads as on while locked, and turning it back on re-arms the alarm.🤖 Generated with Claude Code