feat: add UI for migration from EnvKey

This commit is contained in:
Meet
2024-10-01 01:34:24 +05:30
parent be02617855
commit d00b1847cc
5 changed files with 243 additions and 2 deletions
@@ -13,7 +13,7 @@ export const decryptEnvKeyData = async (decryptionKey: string, encryptedJson: {
const decrypted = secretbox.open(encryptedData, nonce, key);
if (!decrypted) {
throw new Error("Decryption failed");
throw new Error("Decryption failed, please check the entered encryption key");
}
const decryptedJson = encodeUTF8(decrypted);