PIN retry counts are confusing
Categories
(Core :: DOM: Web Authentication, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | verified |
People
(Reporter: jschanck, Assigned: jschanck)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Using a Yubikey 5 series authenticator, I see a retry count of 7 after my first incorrect PIN entry, but after three incorrect PIN entries the authenticator needs a power cycle.
We can't expect the user to know that pinRetries is counting down to the CTAP2_ERR_PIN_BLOCKED event and not the CTAP2_ERR_PIN_AUTH_BLOCKED event.
It would be better to only show the retry count when it is equal to 1, 2, or 3, so that it is always interpreted as counting down to a CTAP2_ERR_PIN_BLOCKED.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
The PIN for a user's security key will be temporarily blocked after three
failed PIN entry attempts, but the "retries left" counter in the invalid PIN
prompt is the (typically larger) number of attempts left before the PIN is
permanently blocked. This patch makes it so that the retries left counter is
only shown when it is equal to 1, 2, or 3.
Comment 3•2 years ago
|
||
bugherder |
Comment 4•2 years ago
|
||
Verified using the latest Nightly build 115.0a1 that the count is no longer confusing when an invalid PIN is submitted and after a few wrong PINs I get the message "Incorrect PIN. You have { $retriesLeft } attempts left before you permanently lose access to the credentials on this device." but only when using the Yubico devices.
If using the Feitian token though I receive the messages:
- "Incorect PIN. Try again" 3 times
- temporary blocked with a power cycle solving the problem message
- "Incorect PIN. Try again" 2 times
- temporary blocked with a power cycle solving the problem message
- "Incorrect PIN. Try again" 1 time
- permanently blocked message. Reset required
Let me know if this is correct for Feitian token.
Testing was done using the following:
- Yubico 5 NFC
- Yubico Bio
- Feitian ePass FIDO2 Security Key A4B
- Windows 7, Ubuntu 20.04 and macOS 13
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Sounds like the Feitian token doesn't report a count for us to display. I don't think we can do anything to improve the user experience.
Comment 6•2 years ago
|
||
(In reply to John Schanck [:jschanck] from comment #5)
Sounds like the Feitian token doesn't report a count for us to display. I don't think we can do anything to improve the user experience.
Thanks John, I'm gonna close this as verified fixed on 115 in this case.
Description
•