gnome-shell/js/gdm
Marco Trevisan (Treviño) c8bb45b41c gdm: Limit verification cancellations to be conform to allowed-failures
As per previous commit the user can cancel an ongoing authentication via
Escape key and that will always send the user back to the clock view in
lockscreen or user-selection view in login prompt.

However, we can be a little more permissive and don't switch view to be
able to restart the authentication without further action.

To avoid this to be abused though, we consider the user verification
cancellation via escape key to be a "soft-failure", so once the
configured "allowed-failures" gsettings value has been reached, we'd
just act as before, ignoring any further request (until we don't get
back to the user auth view).

In this way we still make brute-force attacks harder to do, while still
giving the well-behaving user some ability to fix mistakes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1622>
2021-02-12 20:26:00 +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: Limit verification cancellations to be conform to allowed-failures 2021-02-12 20:26:00 +00:00
vmware.js gdm: Introduce vmware credential manager for pre-authenticated logins 2020-07-04 08:11:49 +08:00