mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 12:38:36 +00:00
feat(fips): requested changes & additional fixes
This commit is contained in:
@@ -59,7 +59,7 @@ export const getBotKeyFnFactory = (
|
||||
publicKey: projectV1Keys.senderPublicKey,
|
||||
privateKey: userPrivateKey
|
||||
});
|
||||
const botKey = crypto.encryption().asymmetric().generateKeyPair();
|
||||
const botKey = await crypto.encryption().asymmetric().generateKeyPair();
|
||||
const { iv, tag, ciphertext, encoding, algorithm } = crypto
|
||||
.encryption()
|
||||
.encryptWithRootEncryptionKey(botKey.privateKey);
|
||||
|
||||
Reference in New Issue
Block a user