We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eaa6c7 commit cec3bbcCopy full SHA for cec3bbc
1 file changed
src/parsers/decryptors/decrypt_v1.decryptor.js
@@ -23,7 +23,7 @@ export async function decryptSources_v1(id, name, type) {
23
);
24
const encrypted = rawSourceData?.sources;
25
if (!encrypted) throw new Error("Encrypted source missing in response");
26
- const decrypted = CryptoJS.AES.decrypt(encrypted, key).toString(
+ const decrypted = CryptoJS.AES.decrypt(encrypted, key.trim()).toString(
27
CryptoJS.enc.Utf8
28
29
if (!decrypted) throw new Error("Failed to decrypt source");
0 commit comments