diff --git a/jslib b/jslib index 23ded0d1..0a73b6fc 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 23ded0d115a9cc0882458b38b423f186a5152543 +Subproject commit 0a73b6fca83b33573cf6ea0a41899ead34c23c46 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 29312ba5..36edabff 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -67,7 +67,8 @@ const storageService: StorageServiceAbstraction = new ElectronStorageService(rem const platformUtilsService = new ElectronPlatformUtilsService(i18nService, messagingService, false, storageService); const secureStorageService: StorageServiceAbstraction = new ElectronRendererSecureStorageService(); const cryptoFunctionService: CryptoFunctionServiceAbstraction = new NodeCryptoFunctionService(); -const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService); +const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService, + platformUtilsService); const appIdService = new AppIdService(storageService); const tokenService = new TokenService(storageService); const apiService = new ApiService(tokenService, platformUtilsService, diff --git a/src/bwdc.ts b/src/bwdc.ts index 4d92db1b..78fc441d 100644 --- a/src/bwdc.ts +++ b/src/bwdc.ts @@ -84,7 +84,7 @@ export class Main { this.secureStorageService = plaintextSecrets ? this.storageService : new KeytarSecureStorageService(applicationName); this.cryptoService = new CryptoService(this.storageService, this.secureStorageService, - this.cryptoFunctionService); + this.cryptoFunctionService, this.platformUtilsService); this.appIdService = new AppIdService(this.storageService); this.tokenService = new TokenService(this.storageService); this.messagingService = new NoopMessagingService();