Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix merge conflicts

Tuan Dangbb752863fabd
diff --cc frontend/package-lock.json
index 6a6a4e6c89,8a240ef89a..2ea43719eb
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@@ -25,14 -28,12 +28,15 @@@
"@reduxjs/toolkit": "^1.8.3",
"@stripe/react-stripe-js": "^1.10.0",
"@stripe/stripe-js": "^1.46.0",
+ "@types/argon2-browser": "^1.18.1",
"add": "^2.0.6",
+ "argon2-browser": "^1.18.0",
"axios": "^0.27.2",
"axios-auth-refresh": "^3.3.3",
+ "base64-loader": "^1.0.0",
"classnames": "^2.3.1",
"cookies": "^0.8.0",
+ "cva": "npm:class-variance-authority@^0.4.0",
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"http-proxy": "^1.18.1",
diff --cc frontend/package.json
index 25efc0ccb2,c03c203439..a8c2c2ee82
--- a/frontend/package.json
+++ b/frontend/package.json
@@@ -32,14 -35,12 +35,15 @@@
"@reduxjs/toolkit": "^1.8.3",
"@stripe/react-stripe-js": "^1.10.0",
"@stripe/stripe-js": "^1.46.0",
+ "@types/argon2-browser": "^1.18.1",
"add": "^2.0.6",
+ "argon2-browser": "^1.18.0",
"axios": "^0.27.2",
"axios-auth-refresh": "^3.3.3",
+ "base64-loader": "^1.0.0",
"classnames": "^2.3.1",
"cookies": "^0.8.0",
+ "cva": "npm:class-variance-authority@^0.4.0",
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"http-proxy": "^1.18.1",
diff --cc frontend/src/pages/password-reset.tsx
index 4c9020a682,7da1778ead..450cd82de9
--- a/frontend/src/pages/password-reset.tsx
+++ b/frontend/src/pages/password-reset.tsx
@@@ -68,13 -64,14 +68,6 @@@ export default function PasswordReset(
});
if (!errorCheck) {
- // const { ciphertext, iv, tag } = Aes256Gcm.encrypt({
- // text: privateKey,
- // secret: newPassword
- // .slice(0, 32)
- // .padStart(32 + (newPassword.slice(0, 32).length - new Blob([newPassword]).size), '0')
- // }) as { ciphertext: string; iv: string; tag: string };
- // Generate a random pair of a public and a private key
- const { ciphertext, iv, tag } = Aes256Gcm.encrypt({
- text: privateKey,
- secret: newPassword
- .slice(0, 32)
- .padStart(32 + (newPassword.slice(0, 32).length - new Blob([newPassword]).size), '0')
- }) as { ciphertext: string; iv: string; tag: string };
--
client.init(
{
username: email,