Hello,

On Tue, Jul 28, 2015 at 8:31 PM, Wido <[email protected]> wrote:
> I used this
> <http://www.thinkwiki.org/wiki/How_to_enable_integrated_fingerprint_reader_with_fprint>
> to
> get the fingerprint stuff working and this
> <http://askubuntu.com/questions/210815/how-can-i-login-to-lightdm-with-password-for-fingerprint-enabled-user-after-12-1>
> as
> a guide to get lightdm working as well (which so far I've failed miserably
> in getting it working)
>
> I'll check the code, but I'm not the coding kind of guy. I know how to
> break and debug things, but making them work not so much. However, I'm glad
> to be a guinea pig to help and make it work.
>
> Just to give more info, I'm not seeing an error when passing my finger
> though the reader. It just doesn't do anything (like nothing happend). I
> don't see any PAM related logs in my /var/log, so I really don't know if
> there is any kind of interaction.
>
> As far as I understood, the fprint daemon talks via dbus with stuff using
> the fprint-pam library. The daemon is being registered in dbus, but seems
> to not be called

This is indeed what I was expecting and is consistent with our code.
We only call PAM when we do have a password entered in the textbox and
Enter has been pressed. Obviously that doesn't work well with
fingerprint check :-D Thing is that their is also no way for us to
have an event, as far as I know, from PAM when a valid fingerprint has
been entered. I guess the best we can do at this stage is to remove
the check for the string length and let empty password go in. This
would means you are required to still press Enter before the
fingerprint will be checked, but at least that should work. It also
make it possible to have more complex PAM setup where a password and a
fingerprint are required.

I am guessing that with direct integration with fprintd, we could get
a signal when someone actually use their fingerprint and just not
require to press Enter in that case, but I don't have the hardware to
look at that. This is going to be a task for someone else. Maybe you
should open a task on phabricator for it so nobody forget. It should
not require deep knowledge of Enlightenment and EFL to add it, just C,
so it would be a good task for a beginner to start contributing to
Enlightenment :-)
-- 
Cedric BAIL

------------------------------------------------------------------------------
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to