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

[PM-27515] Fix 2fa settings not working after KDF change (#17070)

* Always derive authentication data fresh for UV

* Cleanup

* Add tests

* Fix remote UV

* Fix test

* Fix test

* Address feedback

* Fix build

* Update libs/common/src/auth/types/verification.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* Remove unused var

* Fix relative import

* Fix types

---------

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
This commit is contained in:
Bernd Schoolmann
2025-11-07 18:36:02 +01:00
committed by GitHub
parent 40ec682b78
commit 4f9ae78598
6 changed files with 159 additions and 42 deletions

View File

@@ -50,7 +50,6 @@ import {
BiometricsStatus,
BiometricStateService,
KeyService,
PBKDF2KdfConfig,
UserAsymmetricKeysRegenerationService,
} from "@bitwarden/key-management";
@@ -494,7 +493,6 @@ describe("LockComponent", () => {
const mockMasterKey = new SymmetricCryptoKey(new Uint8Array(64)) as MasterKey;
const masterPasswordVerificationResponse: MasterPasswordVerificationResponse = {
masterKey: mockMasterKey,
kdfConfig: new PBKDF2KdfConfig(600_001),
email: "test-email@example.com",
policyOptions: null,
};