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

[PM-24377] Use PureCrypto for decryptUserKeyWithMasterKey on the master password service (#16522)

* use PureCrypto in master password service decryptUserKeyWithMasterKey

* test for legacy AES256-CBC

* update SDK version to include the `PureCrypto.decrypt_user_key_with_master_key`

* change from integration to unit tests, use fake state provider
This commit is contained in:
Maciej Zieniuk
2025-10-17 19:28:38 +02:00
committed by GitHub
parent d65824e624
commit 8f0d509682
5 changed files with 68 additions and 83 deletions

View File

@@ -455,9 +455,7 @@ export class ServiceContainer {
this.kdfConfigService = new DefaultKdfConfigService(this.stateProvider);
this.masterPasswordService = new MasterPasswordService(
this.stateProvider,
this.stateService,
this.keyGenerationService,
this.encryptService,
this.logService,
this.cryptoFunctionService,
this.accountService,