7 comments

  • quicklywilliam 1 hour ago
    Great idea and implementation! If you are hesitant to install this for any reason, you can accomplish the same thing with this one liner:

      sudo bioutil -ws -u 0; sleep 1; sudo bioutil -ws -u 1
    
    Edit: here's a shortcut to run the above and then lock your screen. You can give it a global keyboard shortcut in the Shortcuts app. https://www.icloud.com/shortcuts/9362945d839140dbbf987e5bce9...
  • freehorse 6 minutes ago
    This is great. I see many times "security advice" against biometrics replacing password unlock, but most of the time I am more worried about getting recorded by somebody/something while typing a password in the open than anything else. This makes it better for those other cases.
  • mrdomino- 1 hour ago
    Neat idea.

    I remember way back in the day, there was some question as to the legality of compelled unlocking of devices; IIRC, it’s been deemed legal to compel a fingerprint, but illegal (under the first amendment?) to compel entry of a password—IIRC, as long as that password hasn’t been written down anywhere.

    I gather this is written to that end primarily? Or is there some other goal as well?

  • p0w3n3d 1 hour ago
    What's the rationale? It should be described in the README.md IMO
    • seanieb 1 hour ago
      That's good feedback. I just added it to the readme:

      > "PanicLock fills a gap macOS leaves open: there is no built-in way to instantly disable Touch ID if it matters. Biometrics are convenient day-to-day, but US courts have ruled that law enforcement can compel a fingerprint or face unlock without violating the Fifth Amendment, a protection passwords still carry. PanicLock gives you a one-click or hotkey panic button from the menu bar that immediately disables Touch ID and locks your screen, restoring password-only protection without killing your session or shutting down."

      I've more details on the apps landing page - paniclock.github.io

    • itsdesmond 1 hour ago
      A person might use it to stop someone getting into your computer through certain types of physical coercion, forcing your finger to the reader, or (much less likely but I’m sure security services know how) a copy of your fingerprint.

      But it isn’t a why, it is a what. That what is a tool that lets you quickly disable Touch ID for whatever reason you want to.

  • orthogonal_cube 42 minutes ago
    Honestly I’m surprised this wasn’t already a feature in macOS. Thank you for coding it and publishing as open-source!
  • ttul 1 hour ago
    The 2026 version of "Boss Key".
  • Forgeties79 1 hour ago
    PSA to iOS users: if you tap the lock button 5x it forces password-only unlocking. Useful at protests or any precarious situations with law enforcement.
    • jonpalmisc 7 minutes ago
      This still leaves your device in an AFU (after first unlock) state, with user data decrypted, and should not be treated as secure.

      The only thing you can do (to protect your data from forensics, etc) is to return it to BFU by shutting it off.

    • chuckadams 1 hour ago
      Bringing up the shutdown screen (hold lock and either volume button) will also do it.
      • itsdesmond 1 hour ago
        I did not know that. That is extremely convenient. Thank you.
        • freehorse 10 minutes ago
          Tapping it 5 (6? 7? 20?) times works better while panicked, though.
    • sigio 33 minutes ago
      On GrapheneOS (and maybe android generic?) this calls the emergency number, I just found out (with a 5 second timer to cancel this luckily)