gnome-shell/js
Ray Strode 5682dfe22c
authPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS
commit c8bb45b41c introduced a new
verification state, VERIFICATION_IN_PROGRESS, to detect when the user
has already interacted with the authentication prompt, so the
prompt can rate limit the number of times the user can cancel
authentication attempts with the escape key (without also rate limiting
the number of times they can hit escape to go back to the clock without
interacting with the prompt).

That means there are now two states that represent the user actively
undergoing verification: VERIFYING and VERIFICATION_IN_PROGRESS.

It's inappropriate to reset the smartcard service if the user is
actively conversing with it. We try to check for that by looking at the
original verification state, VERIFYING, but we unfortunately, neglect
to account for the new VERIFICATION_IN_PROGRESS state.

The result is that if a user types their smartcard pin at the clock,
and then inserts their smartcard, the pin will get cleared instead of
used, and they have to retype it again.

This commit fixes the oversight, and allows users to again pre-type
their smartcard pin at the clock before inserting their smartcard.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2765>
(cherry picked from commit 3dd5dcd9bb)
2024-03-15 18:15:41 +01:00
..
dbusServices dbusService: Don't double-wrap remote errors 2024-02-09 14:05:49 +01:00
extensions extensions: Fix ngettext convenience 2023-09-15 21:41:30 +00:00
gdm authPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS 2024-03-15 18:15:41 +01:00
misc extensionSystem: Improve error formatting 2024-01-06 22:44:07 +01:00
portalHelper js: Port Config to ESM 2023-08-10 17:42:23 +00:00
ui layout: Stop using deprecated display property 2024-03-15 18:12:05 +01:00
js-resources.gresource.xml js: Add utility to improve error message formatting 2024-01-06 22:44:07 +01:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00