agenta
agenta copied to clipboard
Enhance: add encryption to LLM keys
Description:
Implemented encryption on the LLM keys to enhance the security of the app. The implementation ensures that the keys are stored and transmitted securely, reducing the risk of unauthorized access and potential breaches.
Changes:
- Installed
crypto-jslibrary for encryption decryption. - Implemented AES-256 encryption algorithm.
- Created a new function named
getAllDecryptedProviderLlmKeysto get decrypted LLM keys. - Created a new env variable to encrypt and decrypt the LLM keys.
Notes:
- Add
NEXT_PUBLIC_LLM_ENCRYPTION_KEYvariable to your.env.localfile with a random unique key.
Issue
Closes #1879
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| agenta | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 23, 2024 1:13am |
@mmabrouk @aakrem This PR has been reviewed and approved
Outdated. We are now planning to have a vault in the backend to resolve this