mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 05:28:51 +00:00
Remove storage of protected key
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user