Open Bug 1928686 Opened 4 days ago Updated 3 days ago

WebAuthn does not show the number of PIN attempts left - You have {$retriesLeft} attempts left before you permanently lose access to the credentials on this device.

Categories

(Core :: DOM: Web Authentication, defect)

Firefox 134
defect

Tracking

()

UNCONFIRMED

People

(Reporter: drew.dani, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Steps to reproduce:

Using a FIDO2/CTAP2.0 security key, a non-Yubikey, and register a security key with UV=required using using the AppID extension in https://webauthn.io/.

When entering the PIN incorrectly, a pop-up appears with the message:

You have {$retriesLeft} attempts left before you permanently lose access to the credentials on this device.

Actual results:

You have {$retriesLeft} attempts left before you permanently lose access to the credentials on this device.

Expected results:

When entering the PIN incorrectly, a pop-up appears should appear with the number of attempts.

You have 8 attempts left before you permanently lose access to the credentials on this device.

YubiKey devices take the latter approach of blocking the PIN - and effectively destroying all private keys - after 8 incorrect attempts. Users should be aware of how many attempts they have.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Web Authentication' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Web Authentication
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.