mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
152c4696ee
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.9.0...desktop-v2024.11.1 Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.11.1 - This includes update to node-argon2 that removes the need for our fix. - Upstream now also attempts to modify the "fuses" of bin/electron, but that fails for us as we are wrapping the read-only electron. So simply skip that in the afterpack. Also, in afterpack, skip creating the wrapper script since we don't use it anyway (again, we wrap electron directly passing the asar). - Update biometric patch as file was moved upstream. - Beware that Bitwarden 2024.10.x was unfree, hence having skipped a few versions, see https://github.com/bitwarden/clients/issues/11611
14 lines
807 B
Diff
14 lines
807 B
Diff
diff --git a/apps/desktop/src/key-management/biometrics/biometric.unix.main.ts b/apps/desktop/src/key-management/biometrics/biometric.unix.main.ts
|
|
index 8962e7f3ec..a7291420f2 100644
|
|
--- a/apps/desktop/src/key-management/biometrics/biometric.unix.main.ts
|
|
+++ b/apps/desktop/src/key-management/biometrics/biometric.unix.main.ts
|
|
@@ -109,7 +109,7 @@ export default class BiometricUnixMain implements OsBiometricService {
|
|
// The user needs to manually set up the polkit policy outside of the sandbox
|
|
// since we allow access to polkit via dbus for the sandboxed clients, the authentication works from
|
|
// the sandbox, once the policy is set up outside of the sandbox.
|
|
- return isLinux() && !isSnapStore() && !isFlatpak();
|
|
+ return false;
|
|
}
|
|
|
|
async osBiometricsSetup(): Promise<void> {
|