Skip to content

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

Fix merge conflicts

Tuan Dangf6e23127ac79
diff --cc backend/src/routes/v3/secrets.ts
index e78e8372ae,0000000000..b415139a9c
mode 100644,000000..100644
--- a/backend/src/routes/v3/secrets.ts
+++ b/backend/src/routes/v3/secrets.ts
@@@ -1,19 -1,0 +1,8 @@@
+import express from 'express';
+const router = express.Router();
+import {
+ requireAuth, validateRequest
+} from '../../middleware';
+import { body } from 'express-validator';
+
- router.post(
- '/',
- body('workspaceId').exists().isString().trim(),
- body('environment').exists().isString().trim(),
- body('secretType').exists().isString(),
- validateRequest,
- async (req, res) => {
- return;
- }
- );
-
+export default router;
diff --cc frontend/src/components/utilities/cryptography/crypto.ts
index 43ef1f4011,75b69a109a..830306d5aa
--- a/frontend/src/components/utilities/cryptography/crypto.ts
+++ b/frontend/src/components/utilities/cryptography/crypto.ts
@@@ -224,11 -185,10 +225,11 @@@ const decryptSymmetric = ({ ciphertext
return plaintext;
};
- export {
- decryptAssymmetric,
- decryptSymmetric,
+ export {
+ decryptAssymmetric,
+ decryptSymmetric,
deriveArgonKey,
- encryptAssymmetric,
- encryptSymmetric
-};
+ encryptAssymmetric,
+ encryptSymmetric,
+ generateKeyPair,
+ verifyPrivateKey};
diff --cc frontend/src/hooks/api/index.tsx
index 1ae7a4e054,66d1a3933e..89d9470680
--- a/frontend/src/hooks/api/index.tsx
+++ b/frontend/src/hooks/api/index.tsx
@@@ -2,7 -2,8 +2,9 @@@ export * from './auth'
export * from './incidentContacts';
export * from './keys';
export * from './organization';
+ export * from './secrets';
+ export * from './secretSnapshots';
+export * from './serviceAccounts';
export * from './serviceTokens';
export * from './subscriptions';
export * from './tags';