1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +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

@@ -1069,9 +1069,7 @@ const safeProviders: SafeProvider[] = [
useClass: MasterPasswordService,
deps: [
StateProvider,
StateServiceAbstraction,
KeyGenerationService,
EncryptService,
LogService,
CryptoFunctionServiceAbstraction,
AccountServiceAbstraction,