Open Bug 1855290 Opened 1 year ago

Authrs_bridge presence prompt flickers

Categories

(Core :: DOM: Web Authentication, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jschanck, Assigned: jschanck)

References

Details

The "Touch your security key" prompt (a.k.a presence prompt) can flicker if a USB security device is connected before the start of a WebAuthn transaction. This happens because

  1. authrs_bridge shows a presence prompt before the start of the transaction, and
  2. authenticator-rs requests a presence prompt once a device has been selected.
    The "flicker" is the first prompt being cancelled and the second prompt being shown.

authrs_bridge shows the first prompt to work around https://github.com/mozilla/authenticator-rs/issues/312. Once that's fixed, authenticator-rs should directly request one of three prompts:

  1. connect a device,
  2. presence,
  3. select a device,
    depending on whether 0, 1, or more devices are connected at the start of the transaction.

This bug tracks the removal of the authrs_bridge prompt.

You need to log in before you can comment on or make changes to this bug.