Add Apple Watch Mode#35
Open
BlackHoleFox wants to merge 1 commit into
Open
Conversation
objective-see
added a commit
that referenced
this pull request
May 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an attempt to support securely ignoring alerts when someone unlocks their Mac with an Apple Watch. As a heads up this is the first serious amount of Objective-C I've written so I mostly followed the code's existing patterns and duplicated->renamed to support the new option.
It's made up of three parts:
ES_AUTHENTICATION_TYPE_AUTO_UNLOCKonauthentication->typeinstead of onlyES_AUTHENTICATION_TYPE_TOUCHIDThis is what the preferences UI looks like with the new setting addition inside the xib builder. I put the Apple Watch setting above TouchID for alphabetic reasons but would be happy to move it around within my ability:

At this time I've only been able to validate that it builds locally. I haven't run anything yet because I'm not sure how to run an Endpoint Security daemon without the right entitlements. Do I need to temporarily disable SIP on my host OS? Maybe it be possible to get a testing build based off this branch's code once it otherwise looks ready? I have an Apple Watch so assuming a way to run the app is available I'll gladly test and validate.
Fixes #5 #34