Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for missing fingerprint unlock messages #524

Open
el-Basketo opened this issue Oct 22, 2024 · 0 comments
Open

Add support for missing fingerprint unlock messages #524

el-Basketo opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@el-Basketo
Copy link

el-Basketo commented Oct 22, 2024

Description

Current situation:

Support for parallel unlocking with fprint was added a couple hours ago in #514

I did some testing. It works wonders! A few features are understandably still missing.

The variables

general:fingerprint_ready_message
general:fingerprint_present_message

are a nice way for the user to display and customize the feedback messages from fprintd.

Missing feature:

The two above-cited variables do not cover all fprintd states, which means that the user cannot customize all the possible values $FPRINTMESSAGE will take. We need more variables similar to general:fingerprint_ready_message to cover all possible states of fingerprint unlocking.

Hints and personal testing:

I have found at least 4 of the states not currently covered – where I assume the value of $FPRINTMESSAGE comes directly from fprint – that cannot be customized:

  1. "Could not match fingerprint. Try again." Using a finger not enrolled yields it.
  2. And a 2nd one very similar to the 1st, which I can't replicate, so I don't know the exact text. I will edit if I manage to get it again.
  3. "Fingerprint auth disabled: too many failed attempts" After failing too many times.
  4. "Unknown fingerprint error, disabling fingerprint auth" When waking up from sleep. (Yes I'll open a separate issue)

It is worth mentioning that those messages are not the same as the ones the gnome polkit or su username yield. Here is a sample of failed attempts in the case of su, polkit also gives the same ones:

$ su username
Place your finger on Synaptics Sensors
Failed to match fingerprint
Place your finger on Synaptics Sensors
Failed to match fingerprint
Place your finger on Synaptics Sensors
Failed to match fingerprint
Password:

EDITS, in order:

  • formatting
  • added 4th unsupported state
@el-Basketo el-Basketo added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant