mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Remove dependency cycle
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import Aes256Gcm from '@app/components/utilities/cryptography/aes-256-gcm';
|
||||
import { deriveArgonKey } from '@app/components/utilities/cryptography/crypto';
|
||||
|
||||
import { KeyService } from '../services';
|
||||
|
||||
/**
|
||||
* @param {Object} obj
|
||||
* @param {Number} obj.encryptionVersion
|
||||
@@ -81,7 +79,6 @@ let privateKey;
|
||||
throw new Error('Failed to decrypt private key');
|
||||
}
|
||||
|
||||
KeyService.setPrivateKey(privateKey);
|
||||
return privateKey;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user