Fix typo in key decryption
This commit is contained in:
parent
ad1e90dfcc
commit
ca9e1b49c1
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ export const getActualKey = async () => {
|
|||
const cryptoWorker = await new CryptoWorker();
|
||||
const encryptedKey = getKey(SESSION_KEYS.ENCRYPTION_KEY).encryptionKey;
|
||||
const session = getData(LS_KEYS.SESSION);
|
||||
const key = await cryptoWorker.(encryptedKey, session.sessionNonce, session.sessionKey);
|
||||
const key = await cryptoWorker.decryptToB64(encryptedKey, session.sessionNonce, session.sessionKey);
|
||||
return key;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue