Open mohammed7s opened 6 months ago
not sure if this applies to your issue, but i recall encountering this when my eml for some reason didn't contain a dkim signature in the header at all
eml used has a base64 encoded attachment. running generate_input.ts generates this error:
Can you attach the eml here?
eml used has a base64 encoded attachment. running generate_input.ts generates this error:
Error: No public key found on DKIM verification result
Logging the result.results[0] from
result = await dkimVerify(email);
yields this output:
so the bodyHash and bodyHashExpecting are not matching so its failing here:
Module Export: exports.DkimVerifier = void 0;
Is your DNS getting resolved? While running it locally it uses your DNS entry to fetch the public keys, make sure it is set to Google DNS of 8.8.8.8/8.8.4.4.
Ok it seems there is an issue with outlook emails. And the emails I am using were sent to office360. I tested with a simple hotmail account and it also fails. Any ideas why that could be the case?
eml used has a base64 encoded attachment. running generate_input.ts generates this error:
Error: No public key found on DKIM verification result
Logging the result.results[0] from
result = await dkimVerify(email);
yields this output:so the bodyHash and bodyHashExpecting are not matching so its failing here: https://github.com/zkemail/zk-email-verify/blob/5c46156301c373086e1a06715297fe45b845ebf5/packages/helpers/dist/dkim/dkim-verifier.js#L189