gnome-shell/js/gdm
Marco Trevisan (Treviño) 6ccd289691 gdm: Count fingerprint authentication failures in fail counter
Fingerprint PAM module can have multiple failures during a runtime
and we rely on the pam module configuration for the maximum allowed
retries.

However, while that setting should be always followed, we should never
ignore the login-screen's allowed-failures setting that can provide
a lower value.

So, once we have a fingerprint failure let's count it to increase our
internal fail counter, and when we've reached the limit we can emit a
verification-failed signal to our clients.

As per this we need also to ignore any further 'info' messages that we
could receive from the fingerprint service, as it may be configured to
handle more retries than us and they might arrive before we have
cancelled the verification session.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1652>
2021-02-15 16:58:50 +00:00
..
authPrompt.js gdm: Limit verification cancellations to be conform to allowed-failures 2021-02-12 20:26:00 +00:00
batch.js cleanup: Avoid unnecessary braces 2019-11-11 19:25:14 +00:00
credentialManager.js credentialManager: Shut up a JS warning 2020-11-26 14:17:26 +01:00
loginDialog.js gdm: Limit verification cancellations to be conform to allowed-failures 2021-02-12 20:26:00 +00:00
oVirt.js gdm: Refactor oVirt to a generic CredentialManager interface 2020-07-04 08:11:49 +08:00
realmd.js realmd: Set login format to null on start and update if invalid 2019-09-09 19:28:18 +00:00
util.js gdm: Count fingerprint authentication failures in fail counter 2021-02-15 16:58:50 +00:00
vmware.js gdm: Introduce vmware credential manager for pre-authenticated logins 2020-07-04 08:11:49 +08:00