mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-30 01:20:22 +09:00
Enhance encryption security with additional safeguards.
This commit is contained in:
parent
cb0422b8f2
commit
0ec1ae6276
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user