Remove storage of protected key

This commit is contained in:
Tuan Dang
2023-02-21 12:31:19 +07:00
parent 74e78bb967
commit 1ff2c61b3a
8 changed files with 14 additions and 15 deletions
+4
View File
@@ -12,6 +12,10 @@ import {
*/
class KeyService {
private static privateKey: string = '';
static setPrivateKey(privateKey: string) {
KeyService.privateKey = privateKey;
}
/** Return the user's decrypted private key
* @param {Object} obj