mirror of
https://github.com/bitwarden/browser
synced 2026-01-07 19:13:39 +00:00
[EC-281] Add de/serialization methods to CipherView objects (#2970)
This commit is contained in:
@@ -92,7 +92,7 @@ export class LocalBackedSessionStorageService extends AbstractStorageService {
|
||||
storedKey = await this.keyGenerationService.makeEphemeralKey();
|
||||
await this.setSessionEncKey(storedKey);
|
||||
}
|
||||
return SymmetricCryptoKey.initFromJson(
|
||||
return SymmetricCryptoKey.fromJSON(
|
||||
Object.create(SymmetricCryptoKey.prototype, Object.getOwnPropertyDescriptors(storedKey))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user