1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-18884] Enable fido2 2FA on Linux (#13038)

* Add support for fido2 2fa on mac

* Update comment

* Update 2fa setup message

* Enable fido2 2FA on unsandboxed linux

* Enable on snap and flatpak

* Fix comment

* Fix typo
This commit is contained in:
Bernd Schoolmann
2025-03-13 16:21:41 +01:00
committed by GitHub
parent 1d1358407e
commit d5645d8514
3 changed files with 5 additions and 5 deletions

View File

@@ -249,7 +249,8 @@
"polkit": {
"action-prefix": "com.bitwarden.Bitwarden"
}
}
},
"u2f-devices"
],
"stagePackages": ["default"]
},

View File

@@ -22,6 +22,7 @@ finish-args:
- --talk-name=org.freedesktop.ScreenSaver
- --system-talk-name=org.freedesktop.login1
- --filesystem=xdg-download
- --device=all
modules:
- name: bitwarden-desktop
buildsystem: simple

View File

@@ -77,11 +77,9 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
return (await this.getApplicationVersion()).split(/[+|-]/)[0].trim();
}
// Restricted to Windows and Mac. Mac is missing support for pin entry, and Linux is missing support entirely and has to be implemented in another way.
// Linux and Mac are missing a ui to enter a pin, so this works for two-factor security keys, when always-uv is not active
supportsWebAuthn(win: Window): boolean {
return (
this.getDevice() === DeviceType.WindowsDesktop || this.getDevice() === DeviceType.MacOsDesktop
);
return true;
}
supportsDuo(): boolean {