name: bitwarden
description: bitwarden is a password manager
snapcraft: generated from https://github.com/bitwarden/clients/blob/7751adf4ad59f54cc38d9cd0dbf00215dac955a7/apps/desktop/electron-builder.json
upstream: github.com/bitwarden/clients
upstream-relation: maintainer
plugs:
hardware-observe:
interface: hardware-observe
request-type: auto-connection
reasoning: Hardware observe is needed to list USB fido2 authenticators for 2-factor authenticator. 2-factor authentication is a basic feature users expect to work and should not require manual plug connection.
https://github.com/bitwarden/clients/pull/22885 contains a detailed description of the bug, but essentially u2f-devices is not sufficient by itself to make fido2 authenticators over usb work over the electron based implementation. While u2f-devices does allow talking to the devices directly, it does not allow enumerating the devices via the interface chromium/electron use. Thus, hardware-observe is needed as an additional interface in order to allow users to authenticate with fido2 keys as a second-factor.
Thank you for your consideration.