Skip to content

Ask for the PIN before lengthening auto-lock or turning off the strict keyboard #133

Closed

Description

@pasichDev

Carried over from #7 (re-authentication before changing security settings). Today only the biometric switch asks for the PIN; the auto-lock delay and the strict-keyboard setting change at once (SecuritySettingsScreen.kt: onStrictKeyboard = securityViewModel::setStrictKeyboard, onAutoLock = securityViewModel::setAutoLockDelay). Someone holding an unlocked phone for a moment can set a 30-minute delay or let the keyboard learn note text, without knowing the PIN.

  • Re-authenticate (PIN or biometric, through the shared re-auth flow) before a change that weakens protection: a longer auto-lock delay, turning the strict keyboard off. A change that strengthens it needs no prompt.
  • The biometric switch uses the same shared flow.
  • SECURITY.md lists which settings ask for re-authentication.
  • Tests: weakening asks, cancelling keeps the old value, strengthening does not ask.

Activity

  1. pasichDev commented on Nov 21, 2026

    @pasichDev
    OwnerAuthor

    Fixed in #135, released in 3.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions