If I want to write a dbus service that exposes various methods, and I want one of those methods to require proof of presence of the user (eg, through fingerprint auth), what's the right way to do that?

Follow

@mjg59

I don't know the answer, but I wonder whether you want presence of anyone at the physical location of the machine, or whether you care about it being some particular user being present there or someplace else. (Relatedly, do you want the condition to be unsatisfiable if the request is made by a user who has no local session?)

@robryk Ideally the specific user being present at the machine in question

@mjg59 @robryk does this only need to work for standard user accounts, or also for users with higher privileges? Can you request privileged/protected input, like ctrl+alt+del? Most stuff I can think of is trivially spoofable by root but would work for regular accounts.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.