Bug 77110 - "Authentication timed out" and unavailableafter waking from suspend
Summary: "Authentication timed out" and unavailableafter waking from suspend
Status: RESOLVED NOTOURBUG
Alias: None
Product: libfprint
Classification: Unclassified
Component: fprintd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-06 18:20 UTC by Chris BL
Modified: 2015-04-03 17:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Chris BL 2014-04-06 18:20:54 UTC
I'm using fprint package for finger-print authentication on Ubuntu 14.04.
It's working perfectly for most things.

Some of the time when my laptop recovers from suspend, I am able to enter a password (or, after pressing Enter, a finger print instead).
But much of the time when it recovers from suspend, the lightdm (?) login screen instead says that authentication has timed out. For some reason I then have to wait a good 25 seconds before I get another chance. At that point, I am able to enter a password or fingerprint as normal.

When this problem occurs (most of the time), the machine wakes without the fingerprint sensor activated (no light), but the login gui screen prompt says something like "swipe your finger". It very quickly gives up, and then says Authentication Timed Out and makes me wait a LONG time. Note that during this time, no other users are listed on the lightdm login screen, so I cannot click on another user or guest to log in.

This "time out" should not be triggered during/after a suspend.
Also, if there is a time out for some reason, it should just wait the normal 2 seconds required after entering an incorrect password.

I'm posting this here because it seems to be the fact that the fingerprint scanner is somehow unavailable after waking, and maybe it is fprintd that times out the authentication for so long.


ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.9.13-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
Uname: Linux 3.13.0-20-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 31 17:29:11 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-11 (20 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140218)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Bastien Nocera 2014-04-07 09:32:10 UTC
That's unlikely to be an fprintd bug. Please try and debug this on the LightDM side with your distribution first, and file a bug here when you have a reproducer.

Seems to me that LightDM is using a single PAM conversation for both pam_fprintd and the normal password checks. This isn't something that we can fix in pam_fprintd, and LightDM will have to work-around the PAM limitations.

Reopen the bug when you've debugged the LightDM side of things.
Comment 2 Chris BL 2015-04-03 17:00:23 UTC
This problem continues to plague me on the upcoming Ubuntu release 15.04.

I do not understand your instructions, or maybe am not qualified. How do I "debug the LightDM side of things"?
Comment 3 Bastien Nocera 2015-04-03 17:02:11 UTC
File a bug against LightDM and let the LightDM developers fix it, if they can.
Comment 4 Chris BL 2015-04-03 17:27:21 UTC
Thank you very much. I think it's been listed against LightDM on the Ubuntu bug site since (near) the beginning.  So it's just that it hasn't caught their attention yet, I suppose. Or maybe it needs another upstream link out of Ubuntu.
Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.