gdm

no error displayed on failed fingerprint authentication

Bug #1865838 reported by Alex Tu
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Andy Chi
gdm
New
Unknown
fprintd (Ubuntu)
Invalid
Undecided
Marco Trevisan (Treviño)
Focal
Invalid
Undecided
Marco Trevisan (Treviño)
gdm3 (Ubuntu)
Invalid
Undecided
Marco Trevisan (Treviño)
Focal
Invalid
Undecided
Marco Trevisan (Treviño)
gnome-shell (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
Focal
Fix Released
High
Marco Trevisan (Treviño)
Groovy
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

No fingerprint errors are exposed on fingerprint login failures.

from journalctl, gdm-fingerprint shows error there after retried 5 times of fingerprint login failed, so I open this issue here.

[ Test case ]

1. enroll fingerprint for your right index finger.
2. logout
3. login and try login by incorrect finger e.g. middle finger
4. Each time the wrong finger is used an error is shown
5. After 3 times retries, an authentication error is shown, suggesting
   to use another method.

[ Regression potential]

Wrong errors are shown during both fingerprint auth and other kinds of authentications.
Password failures aren't properly exposed. Verification can't restart on error.

Password authentication doesn't work anymore for users with no enrolled prints (as per LP: #1915570)

---

ProblemType: BugDistroRelease: Ubuntu 20.04
Package: gdm3 3.34.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 3 15:32:00 2020
InstallationDate: Installed on 2020-03-02 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200301)SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alex Tu (alextu) wrote :
Changed in gdm3 (Ubuntu):
assignee: nobody → Alex Tu (alextu)
Revision history for this message
Alex Tu (alextu) wrote :

the message in journalctl shows that fprintd and gdm-fingerprint know user is trying on incorrect finger.

https://paste.ubuntu.com/p/QkySMYzVmC/

tags: added: rls-ff-incoming
summary: - no error popup while exceed maximal fingerprint retry during login
+ no error displayed on failed fingerprint authentification
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: no error displayed on failed fingerprint authentification

Thanks Alex, you assigned the bug to yourself, does it mean you are working on fixing the issue?

I've sent it upstream as well now
https://gitlab.gnome.org/GNOME/gdm/issues/567

Revision history for this message
Alex Tu (alextu) wrote :

sorry, I wanted to track the progress by "OEM Priority Project" and assigned myself in the wrong series.

Changed in gdm3 (Ubuntu):
assignee: Alex Tu (alextu) → nobody
Changed in oem-priority:
assignee: nobody → Alex Tu (alextu)
Changed in gdm3 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alex Tu (alextu) wrote :

This issue can also be reproduced on Lenovo X240 which is using open source FPT driver [1] for FP device 138a:0017 Validity VFS5011.

[1] https://fprint.freedesktop.org/supported-devices.html

Changed in gdm3 (Ubuntu Focal):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in fprintd (Ubuntu Focal):
status: New → Triaged
Changed in gdm:
status: Unknown → New
tags: removed: rls-ff-incoming
Changed in fprintd (Ubuntu Focal):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Alex Tu (alextu)
Changed in oem-priority:
importance: Undecided → High
Alex Tu (alextu)
tags: added: oem-priority originate-from-1880064 somerville
Rex Tsai (chihchun)
summary: - no error displayed on failed fingerprint authentification
+ no error displayed on failed fingerprint authentication
tags: added: fingerprint
affects: gdm3 (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: Triaged → In Progress
Changed in gnome-shell (Ubuntu Focal):
status: Triaged → In Progress
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.3-2ubuntu1

---------------
gnome-shell (3.38.3-2ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915089)
  * debian/patches: Correctly handle login cancellation and failures.
    Ensure the GDM workers are terminated before restarting a new auth
    request, allowing fingerprint authentication to be restarted.
    (LP: #1915066)
  * debian/patches: Show errors on fingerprint failures and limit retries.
    (LP: #1865838)
  * debian/control: BD on gstreamer and pipewire, depend on gstreamer1.0-pipewire.
    Enable building with pipewire now that is in main and add runtime
    dependency on gstreamer-pipewire to gnome-shell (LP: #1901391).

gnome-shell (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to 3.38.3-3-ge3dc4401d from gnome-3-38 branch
    - Fix opening Extensions app from notification
    - Fix workspace layout in right-to-left locales
    - Don't break window focusing if trying to take an area screenshot while
      an application such as a game has an X11 grab (LP: #1910235)

gnome-shell (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 09 Feb 2021 05:16:10 +0100

Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Released
Changed in gdm (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in gdm (Ubuntu Focal):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in gdm (Ubuntu):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Alex, or anyone else affected,

Accepted gnome-shell into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.38.3-2ubuntu0.20.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell (Ubuntu Groovy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-groovy
description: updated
Changed in gdm (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Andy Chi (andch) wrote :

Test on XPS 9310 with 5.8.0-48-generic kernel, BIOS: 1.2.5 with, codename: groovy.

Login page will pop up message to notify user, if user uses finger which is not registered.

tags: added: verification-done-groovy
removed: verification-needed-groovy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Alex, or anyone else affected,

Accepted gnome-shell into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.36.9-0ubuntu0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (gnome-shell/3.36.9-0ubuntu0.20.04.1)

All autopkgtests for the newly accepted gnome-shell (3.36.9-0ubuntu0.20.04.1) for focal have finished running.
The following regressions have been reported in tests triggered by the package:

update-manager/1:20.04.10.6 (ppc64el, amd64, armhf, s390x, arm64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/focal/update_excuses.html#gnome-shell

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Alex Tu (alextu)
Changed in oem-priority:
assignee: Alex Tu (alextu) → Andy Chi (andch)
Revision history for this message
Andy Chi (andch) wrote :

Test on XPS 9310 with 5.10.0-1025-oem kernel, BIOS: 2.2.0 with, codename: focal.

Login page will pop up message to notify user, if user uses finger which is not registered.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.36.9-0ubuntu0.20.04.1

---------------
gnome-shell (3.36.9-0ubuntu0.20.04.1) focal; urgency=medium

  * New upstream release (LP: #1921963):
    - Improve login screen accessibility
    - Prefer image-data hint over app-icon in notifications
    - Plugged leak
    - Fixed crashes
  * debian/patches:
    - Correctly handle login cancellation and failures (LP: #1915066)
    - Show errors on fingerprint failures and limit retries (LP: #1865838)
    - gdm: Don't try to retry authenticating when the service is unavailable
      (LP: #1915570)
    - Enable to use Escape to cancel auth requests (with limits) (LP: #1921929)

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 31 Mar 2021 00:50:16 +0200

Changed in gnome-shell (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gnome-shell has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.3-2ubuntu0.20.10.2

---------------
gnome-shell (3.38.3-2ubuntu0.20.10.2) groovy; urgency=medium

  * d/p/gdm-Don-t-try-to-retry-authenticating-when-the-service-is.patch:
    - gdm: Don't try to retry authenticating when the service is unavailable
      (Related to lp:1915570, regression in 3.38.3-2ubuntu0.20.10.1)

gnome-shell (3.38.3-2ubuntu0.20.10.1) groovy; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915089)
  * debian/patches: Correctly handle login cancellation and failures.
    Ensure the GDM workers are terminated before restarting a new auth
    request, allowing fingerprint authentication to be restarted.
    (LP: #1915066)
  * debian/patches: Show errors on fingerprint failures and limit retries.
    (LP: #1865838)

gnome-shell (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to 3.38.3-3-ge3dc4401d from gnome-3-38 branch
    - Fix opening Extensions app from notification
    - Fix workspace layout in right-to-left locales
    - Don't break window focusing if trying to take an area screenshot while
      an application such as a game has an X11 grab (LP: #1910235)

gnome-shell (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 16 Feb 2021 05:23:21 +0100

Changed in gnome-shell (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdm3 (Ubuntu Focal):
status: New → Confirmed
affects: gdm (Ubuntu) → gdm3 (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue was fixed by the shell update so the other components can be closed right?

Changed in gdm3 (Ubuntu):
status: Triaged → Invalid
Changed in gdm3 (Ubuntu Focal):
status: Confirmed → Invalid
Changed in fprintd (Ubuntu):
status: Triaged → Invalid
Changed in fprintd (Ubuntu Focal):
status: Triaged → Invalid
Revision history for this message
Andy Chi (andch) wrote :

@seb128,
Yes, it is fixed by shell update, please close other component. Thanks

Rex Tsai (chihchun)
Changed in oem-priority:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.