-
Notifications
You must be signed in to change notification settings - Fork 118
Add support for Touch ID as an authentication method in macOS #53
Comments
Thanks @jviotti I will look into it. Any ideas from your side? |
I have very little macOS programming knowledge, and my MacBook Pro doesn't have Touch ID, but I'll see if I can find something :) |
I've been using Etcher a lot, so I tried to take a closer look at this, and I had a quick question. If I execute the AppleScript directly or if I do the following, I get the Touch ID prompt.
Perhaps it has something to do with the applet binary? What is it actually doing? Thanks! |
Thanks @ryankon The applet is just an AppleScript packaged as an app by Xcode. We moved away from copying the You can inspect the applet in Xcode: decode the applet base64, unzip, then open Contents/Resources/Scripts in Xcode, which looks like this:
This might be a red herring but I think I recall that Perhaps |
This might just do the trick. |
Thanks for the detailed response @jorangreef Unfortunately, I attempted to rebuild the AppleScript app using the latest Xcode (9.2) on MacOS 10.3.3, and it still prompts for a password instead of using Touch ID. If we want to preserve the prompt customizability, we may have to use the Local Authentication framework instead. I can try to carve out some time in the coming weeks to take a closer look. Thoughts? |
Sure, thanks @ryankon for trying the rebuild. It would be great to look into using the Local Authentication framework, especially if we can interact with it from C/C++ with a minimum of anything else. I have tried to keep |
@ryankon , would you like to try rebuild the AppleScript app again to see if Xcode now prompts with Touch ID? |
Closing for now, let me know if anything changes with this please. |
any update for this issue? |
From balena-io/etcher#1579.
Not sure what's needed for this, but it'd indeed be very cool if
sudo-prompt
can support Touch ID authentication on newest MacBooks.The text was updated successfully, but these errors were encountered: