Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: resolve Windows path separator issue in Huawei OBS operations (#23475)
BotAndyGaoac02c12e496d
diff --git a/api/libs/rsa.py b/api/libs/rsa.pyindex 598e5bc9e37..c72032701f0 100644--- a/api/libs/rsa.py+++ b/api/libs/rsa.py@@ -1,5 +1,4 @@import hashlib-import osfrom typing import Unionfrom Crypto.Cipher import AES@@ -18,7 +17,7 @@ def generate_key_pair(tenant_id: str) -> str:pem_private = private_key.export_key()pem_public = public_key.export_key()- filepath = os.path.join("privkeys", tenant_id, "private.pem")+ filepath = f"privkeys/{tenant_id}/private.pem"storage.save(filepath, pem_private)@@ -48,7 +47,7 @@ def encrypt(text: str, public_key: Union[str, bytes]) -> bytes:def get_decrypt_decoding(tenant_id: str) -> tuple[RSA.RsaKey, object]:- filepath = os.path.join("privkeys", tenant_id, "private.pem")+ filepath = f"privkeys/{tenant_id}/private.pem"cache_key = f"tenant_privkey:{hashlib.sha3_256(filepath.encode()).hexdigest()}"private_key = redis_client.get(cache_key)