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
Allow usage of Touch ID for admin actions on macOS #2998
Comments
I noticed several extensions have some code to run admin tasks using like sudo-prompt, or pkexec here it brings a new parameter isAdmin in the exec API so extensions can run admin tasks it uses for macOS osascript allowing to use touch ID pre-req of containers#2998 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
replace adhoc calls of extensions to use the new param of exec allowing to execute admin/privileges tasks and for macOS as it is using osascript we can use touchID key fixes containers#2998 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
I noticed several extensions have some code to run admin tasks using like sudo-prompt, or pkexec here it brings a new parameter isAdmin in the exec API so extensions can run admin tasks it uses for macOS osascript allowing to use touch ID pre-req of #2998 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
replace adhoc calls of extensions to use the new param of exec allowing to execute admin/privileges tasks and for macOS as it is using osascript we can use touchID key fixes #2998 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Did you have to set up anything extra for osascript to allow Touch ID? I swear that in our app it used to just work and your screenshot clearly shows that osascript did accept Touch ID. However, now I'm working on another feature which utilizes osascript and I found that it no longer allows me to use Touch ID. I found a couple of posts mentioning modifying
|
@ravicious I think it's no longer working since macOS sonoma |
Is your enhancement related to a problem? Please describe
Today, I'm asked for a password when requiring admin privileges but I have Touch ID so I would expect to have Podman Desktop working with my Touch ID
Describe the solution you'd like
It looks like that when using sudo, we can tune some pam modules
but I don't like that as it's a user action
It looks like we should use
osascript
instead ofsudo
on macOSexample:
osascript -e 'do shell script "echo podman" with prompt "Podman Desktop requires admin privileges " with administrator privileges'
will provide something like
where I can use Touch ID or my password
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: