-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request OS Authentication #117
Comments
The API will probably be more complex than this, since the OS authentication isn't just supposed to check your password and tell an app yes or no so it can decide to do stuff it could, in principle, do anyway (which wouldn't protect much). In the Chrome example, the OS actually encrypts data so even a hacked or buggy version of Chrome couldn't get it, nor could someone who reads Chrome's source to find out where the data is stored; Chrome is asking the OS to actually get that data, and the OS encrypts it for secure storage. Something similar goes for That said, I would love to have more cross-platform standard ways to handle either elevated actions or secure data. |
@Richienb Look at jorangreef/sudo-prompt. |
@ssight That would be good except it needs to support MacOS. |
@Richienb I finally got MacOS to work. It should work on all three major platforms now. |
Ask the user to authenticate with their credentials to verify a sensitive operation. An example of this is the show password button in Chrome password manager.
Here's an API example:
The text was updated successfully, but these errors were encountered: