1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PS-2264] Make password protected exports support account's iterations and argon2 (#4479)

* Fix encrypted export using fixed PBKDF2 iterations

* Replace hardcoded KdfType in importer

* Clean up kdf handling in password-protected export

* Extract BitwardenPasswordProtectedFileFormat

* Rename bitwarden-json-types

* Move StateService import to fix linting issue

* Make linter happy

* Use abstraction instead of implementation

---------

Co-authored-by: Daniel James Smith <djsmith@web.de>
This commit is contained in:
Bernd Schoolmann
2023-03-31 13:49:07 +02:00
committed by GitHub
parent 1c88465316
commit 1f472ea309
7 changed files with 37 additions and 27 deletions

View File

@@ -466,7 +466,8 @@ export default class MainBackground {
this.cipherService,
this.apiService,
this.cryptoService,
this.cryptoFunctionService
this.cryptoFunctionService,
this.stateService
);
this.notificationsService = new NotificationsService(
this.syncService,

View File

@@ -378,7 +378,8 @@ export class Main {
this.cipherService,
this.apiService,
this.cryptoService,
this.cryptoFunctionService
this.cryptoFunctionService,
this.stateService
);
this.auditService = new AuditService(this.cryptoFunctionService, this.apiService);