1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

[PM-6419] Change desktop argon implementation for Node (#8048)

* Fix desktop argon2

* Don't remove wasm loading in renderer

* Fix electron-builder not including dependency
This commit is contained in:
Daniel García
2024-02-26 23:31:09 +01:00
committed by GitHub
parent f53af7c466
commit 996823169a
8 changed files with 91 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ import { Account } from "./models/account";
import { BiometricsService, BiometricsServiceAbstraction } from "./platform/main/biometric/index";
import { ClipboardMain } from "./platform/main/clipboard.main";
import { DesktopCredentialStorageListener } from "./platform/main/desktop-credential-storage-listener";
import { MainCryptoFunctionService } from "./platform/main/main-crypto-function.service";
import { ElectronLogMainService } from "./platform/services/electron-log.main.service";
import { ElectronStateService } from "./platform/services/electron-state.service";
import { ElectronStorageService } from "./platform/services/electron-storage.service";
@@ -47,6 +48,7 @@ export class Main {
messagingService: ElectronMainMessagingService;
stateService: StateService;
environmentService: EnvironmentService;
mainCryptoFunctionService: MainCryptoFunctionService;
desktopCredentialStorageListener: DesktopCredentialStorageListener;
migrationRunner: MigrationRunner;
@@ -198,6 +200,9 @@ export class Main {
this.clipboardMain = new ClipboardMain();
this.clipboardMain.init();
this.mainCryptoFunctionService = new MainCryptoFunctionService();
this.mainCryptoFunctionService.init();
}
bootstrap() {