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

Move admin-console code to new encrypt service interface (#14547)

This commit is contained in:
Bernd Schoolmann
2025-05-13 15:41:57 +02:00
committed by GitHub
parent 992b1456a8
commit b2c118d607
8 changed files with 18 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ export class OrganizationUserResetPasswordService
if (orgSymKey == null) {
throw new Error("No org key found");
}
const decPrivateKey = await this.encryptService.decryptToBytes(
const decPrivateKey = await this.encryptService.unwrapDecapsulationKey(
new EncString(response.encryptedPrivateKey),
orgSymKey,
);