mirror of
https://github.com/bitwarden/browser
synced 2026-03-01 02:51:24 +00:00
Resolved merge conflicts from vault item encryption.
This commit is contained in:
@@ -131,7 +131,9 @@ export class Fido2AuthenticatorService implements Fido2AuthenticatorServiceAbstr
|
||||
keyPair = await createKeyPair();
|
||||
|
||||
const encrypted = await this.cipherService.get(cipherId);
|
||||
cipher = await encrypted.decrypt();
|
||||
cipher = await encrypted.decrypt(
|
||||
await this.cipherService.getKeyForCipherKeyDecryption(encrypted)
|
||||
);
|
||||
fido2Key = await createKeyView(params, keyPair.privateKey);
|
||||
cipher.login.fido2Keys = [fido2Key];
|
||||
const reencrypted = await this.cipherService.encrypt(cipher);
|
||||
|
||||
Reference in New Issue
Block a user