1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

PM-14445: Fix rotateUserKeyAndEncryptedData regression

This commit is contained in:
Maciej Zieniuk
2024-11-05 13:57:26 +00:00
parent 43be8e7ada
commit 6bddb36104
2 changed files with 3 additions and 3 deletions

View File

@@ -9,8 +9,8 @@ import { EmergencyAccessWithIdRequest } from "../../../auth/emergency-access/req
export class UpdateKeyRequest {
constructor(
readonly masterPasswordHash: EncryptedString,
readonly key: string,
readonly masterPasswordHash: string,
readonly key: EncryptedString,
readonly privateKey: EncryptedString,
) {}

View File

@@ -96,8 +96,8 @@ export class UserKeyRotationService {
// Create new request
const request = new UpdateKeyRequest(
newEncUserKey.encryptedString!,
masterPasswordHash,
newEncUserKey.encryptedString!,
privateKey,
);