From 0ec1ae62769139e338db29ffd844787b04089a21 Mon Sep 17 00:00:00 2001 From: glay Date: Tue, 10 Dec 2024 11:55:14 +0800 Subject: [PATCH] Enhance encryption security with additional safeguards. --- app/utils/aws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/aws.ts b/app/utils/aws.ts index d7b270138..5fc78bc7e 100644 --- a/app/utils/aws.ts +++ b/app/utils/aws.ts @@ -85,7 +85,7 @@ export async function encrypt( return [saltBase64, ivBase64, encryptedBase64].join(SEPARATOR); } catch (error) { - console.error("[Encryption Error]:", error); + // console.error("[Encryption Error]:", error); throw new Error("Failed to encrypt AWS credentials"); } }