mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 17:32:37 +00:00
feat(fips): requested changes & additional fixes
This commit is contained in:
@@ -39,7 +39,7 @@ export const generateUserSrpKeys = async (
|
||||
password: string,
|
||||
customKeys?: { publicKey: string; privateKey: string }
|
||||
) => {
|
||||
const pair = crypto.encryption().asymmetric().generateKeyPair();
|
||||
const pair = await crypto.encryption().asymmetric().generateKeyPair();
|
||||
|
||||
const privateKey = customKeys?.privateKey || pair.privateKey;
|
||||
const publicKey = customKeys?.publicKey || pair.publicKey;
|
||||
|
||||
Reference in New Issue
Block a user