From 34774c413013f903dce00c4f5cb17bc8d3a3c273 Mon Sep 17 00:00:00 2001 From: Prashil Sureja Date: Sat, 29 Nov 2025 07:54:15 -0800 Subject: [PATCH] Add Touch ID support for authentication prompts (#918) Enable biometric authentication using the builtin:authenticate mechanism for macOS 10.12.2 and later. When Touch ID is available, users can authenticate with their fingerprint instead of typing their password. The system automatically falls back to password authentication on devices without Touch ID support. This improves the user experience by: - Allowing faster authentication with Touch ID - Maintaining full backwards compatibility - Using Apple's built-in authentication mechanisms Co-authored-by: Prashil Sureja --- Common/SCXPCAuthorization.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Common/SCXPCAuthorization.m b/Common/SCXPCAuthorization.m index a749a800..f4b6c141 100644 --- a/Common/SCXPCAuthorization.m +++ b/Common/SCXPCAuthorization.m @@ -80,7 +80,10 @@ + (NSDictionary *)commandInfo @"group": @"admin", @"timeout": @(120), // 2 minutes @"shared": @(YES), - @"version": @1 // not entirely sure what this does TBH + @"version": @1, // not entirely sure what this does TBH + // Enable Touch ID and other biometric authentication on macOS 10.12.2+ + // The authenticate mechanism supports Touch ID when available + @"mechanisms": @[@"builtin:authenticate"] }; }