OmarCastro / cmd-polkit

Easily create polkit authentication agents by using commands
GNU Lesser General Public License v2.1
24 stars 2 forks source link

Fingerprint Authentication #10

Open Pacman99 opened 2 months ago

Pacman99 commented 2 months ago

Is it possible to implement fingerprint support, so I can display a notice to place the finger on the fingerprint reader?

I don't believe the command is currently getting any information about the fingerprint request from polkit.

When I run pkexec, I see in the logs that the authentication request is initiated and then the folowing line: Vrbos:on_session_show_info:Polkit session show info: Place your right index finger on the fingerprint reader

The command however doesn't seem to get any notice of this happening.

OmarCastro commented 3 weeks ago

I do not have a fingerprint reader to test this feature, nor I know how to simulate it.

Did a search, and I seems like a lottery to get a usb fingerprint that works on Linux. It will be a while when I get a fingerprint reader that supports on Linux so I can implement this