Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: update encryption key log line [LET-5474] (#5393)

jnjpng7cac9a1a3ef4
diff --git a/letta/helpers/crypto_utils.py b/letta/helpers/crypto_utils.py
index ce8abc725..5a96dbab6 100644
--- a/letta/helpers/crypto_utils.py
+++ b/letta/helpers/crypto_utils.py
@@ -47,7 +47,9 @@ class CryptoUtils:
master_key = settings.encryption_key
if not master_key:
- raise ValueError("No encryption key configured. Set LETTA_ENCRYPTION_KEY environment variable.")
+ raise ValueError(
+ "No encryption key configured. Please set the LETTA_ENCRYPTION_KEY environment variable (not fully supported yet for Letta v0.12.1 and below)."
+ )
# Generate random salt and IV
salt = os.urandom(cls.SALT_SIZE)
@@ -91,7 +93,9 @@ class CryptoUtils:
master_key = settings.encryption_key
if not master_key:
- raise ValueError("No encryption key configured. Set LETTA_ENCRYPTION_KEY environment variable.")
+ raise ValueError(
+ "No encryption key configured. Please set the LETTA_ENCRYPTION_KEY environment variable (not fully supported yet for Letta v0.12.1 and below)."
+ )
try:
# Decode from base64