From a12e4e0a5f4113af4b617a8839427a5ead8c1381 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 16 Jul 2025 20:36:48 +0200 Subject: [PATCH] Fix test and build issues --- apps/browser/src/background/main.background.ts | 2 ++ libs/angular/src/services/jslib-services.module.ts | 2 ++ .../master-password/types/master-password.types.ts | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/browser/src/background/main.background.ts b/apps/browser/src/background/main.background.ts index 1d229649d36..014174aa22c 100644 --- a/apps/browser/src/background/main.background.ts +++ b/apps/browser/src/background/main.background.ts @@ -669,6 +669,8 @@ export default class MainBackground { this.encryptService, this.logService, this.cryptoFunctionService, + this.kdfConfigService, + this.accountService, ); this.i18nService = new I18nService(BrowserApi.getUILanguage(), this.globalStateProvider); diff --git a/libs/angular/src/services/jslib-services.module.ts b/libs/angular/src/services/jslib-services.module.ts index 263b8d8346d..2d98ae7080d 100644 --- a/libs/angular/src/services/jslib-services.module.ts +++ b/libs/angular/src/services/jslib-services.module.ts @@ -1024,6 +1024,8 @@ const safeProviders: SafeProvider[] = [ EncryptService, LogService, CryptoFunctionServiceAbstraction, + KdfConfigService, + AccountServiceAbstraction, ], }), safeProvider({ diff --git a/libs/common/src/key-management/master-password/types/master-password.types.ts b/libs/common/src/key-management/master-password/types/master-password.types.ts index 22526766b7b..46d4b61c14e 100644 --- a/libs/common/src/key-management/master-password/types/master-password.types.ts +++ b/libs/common/src/key-management/master-password/types/master-password.types.ts @@ -1,9 +1,10 @@ import { Opaque } from "type-fest"; -import { EncString } from "@bitwarden/common/platform/models/domain/enc-string"; // eslint-disable-next-line no-restricted-imports import { KdfConfig } from "@bitwarden/key-management"; +import { EncString } from "../../crypto/models/enc-string"; + /** * The Base64-encoded master password authentication hash, that is sent to the server for authentication. */