Bug 1189621

Summary: Cannot unblock GNOME desktop using the fingerprint scanner
Product: [openSUSE] openSUSE Tumbleweed Reporter: Vlad Svitlychnyi <mail>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou, mail, yfjiang
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1203099    

Description Vlad Svitlychnyi 2021-08-19 18:11:44 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Build Identifier: 

Despite the fact that `fprintd` is installed, the fingerprints are configured and `fprintd-verify` recognizes them, I still cannot use the fingerprint scanner in order to unlock my GNOME session.

Reproducible: Always

Steps to Reproduce:
1. Install fprintd via `sudo zypper in fprintd`
2. Enable 'Fingerprint Login' in 'Gnome Settings > Users' GUI application and add a fingerprint 
3. Verify that it works when invoking `fprintd-verify` from the command line:
fprintd-verify
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-index-finger
Verify started!
Verifying: right-index-finger
Verify result: verify-match (done)

3. Lock the screen in GNOME
4. Try to unlock the screen
Actual Results:  
Unlocking via the fingerprint scanner doesn't work.
"Sorry, that didn't work. Please try again." message keeps appearing every ~2 sec no matter whether I use the fingerprint scanner or not.
The session can be unlocked only by entering the password.

Expected Results:  
Both password and fingerprint scan should unlock the GNOME session.

~> zypper info gnome-shell | grep Version
Version        : 40.3-4.1
~> zypper info gdm | grep Version
Version        : 3.38.2-2.6
~> zypper info fprintd | grep Version
Version        : 1.90.9-2.3
~> cat /etc/os-release | grep VERSION_ID
VERSION_ID="20210817"
~> sudo journalctl --since "10 min ago" | grep fingerprint
Aug 19 19:58:55 vsv-thinkpad gdm-fingerprint][5155]: pam_warn(gdm-fingerprint:auth): function=[pam_sm_authenticate] flags=0 service=[gdm-fingerprint] terminal=[/dev/tty7] user=[vsv] ruser=[<unknown>] rhost=[<unknown>]
Aug 19 19:58:58 vsv-thinkpad gdm-fingerprint][5162]: pam_warn(gdm-fingerprint:auth): function=[pam_sm_authenticate] flags=0 service=[gdm-fingerprint] terminal=[/dev/tty7] user=[vsv] ruser=[<unknown>] rhost=[<unknown>]
Aug 19 19:59:00 vsv-thinkpad gdm-fingerprint][5168]: pam_warn(gdm-fingerprint:auth): function=[pam_sm_authenticate] flags=0 service=[gdm-fingerprint] terminal=[/dev/tty7] user=[vsv] ruser=[<unknown>] rhost=[<unknown>]
Aug 19 19:59:03 vsv-thinkpad gdm-fingerprint][5171]: pam_warn(gdm-fingerprint:auth): function=[pam_sm_authenticate] flags=0 service=[gdm-fingerprint] terminal=[/dev/tty7] user=[vsv] ruser=[<unknown>] rhost=[<unknown>]

~> sudo fwupdmgr get-devices
...
├─Prometheus:
│ │   Device ID:          50efef912094e784a03628350441f6927c4920b0
│ │   Summary:            Fingerprint reader
│ │   Current version:    10.01.3273255
│ │   Vendor:             Synaptics (USB:0x06CB)
│ │   Install Duration:   2 seconds
│ │   Serial Number:      60900456185485
│ │   GUIDs:              09e8bf16-3e69-50f5-bb66-c7a040248352 ← USB\VID_06CB&PID_00BD&REV_0000
│ │                       8088f861-6318-5b1e-9ce4-fbddbedb09ac ← USB\VID_06CB&PID_00BD
│ │   Device Flags:       • Updatable
│ │                       • Supported on remote server
│ │                       • Cryptographic hash verification is available

~> uname -a
Linux vsv-thinkpad 5.13.8-1-default #1 SMP Thu Aug 5 08:56:22 UTC 2021 (967c6a8) x86_64 x86_64 x86_64 GNU/Linux

Hardware Model: Lenovo ThinkPad T14 Gen 1 (AMD)
Windowing System: Wayland
Comment 1 Alynx Zhou 2022-02-24 01:52:56 UTC
Hi Vlad, can you still reproduce it with latest update? If so, please attach a full journal to help us find problem, thanks!
Comment 2 Yifan Jiang 2022-09-05 03:20:40 UTC
When providing journal log, would you please enable Enable=true in the [debug] section of /etc/gdm/custom.conf .
Comment 3 Alynx Zhou 2023-03-14 03:06:49 UTC
I think we now have working fingerprint in Leap/Tumbleweed, so close this.