o1js-email-verify
Version:
Implemented using [o1js](https://github.com/o1-labs/o1js), this project is a reimplementation of [zk-email](https://github.com/zkemail/zk-email-verify), leveraging the Mina proving system [Kimchi](https://o1-labs.github.io/proof-systems/specs/kimchi.html#
20 lines (19 loc) • 924 B
TypeScript
/**
* This script is a utility for testing email verification on an EML file.
* You can quickly run this script to verify the integrity and authenticity of the email's DKIM signature.
*
* Usage:
* 1. Place the desired EML file in the `eml` directory or any other directory of your choice.
* 2. Update the `filePath` variable to point to your new EML file.
* 3. Execute the script by running the `npm run main` command.
*
* Note:
* - If no output is produced, it means the verification was successful.
* - If an error is thrown, it indicates a problem with the verification process.
*
* This script is primarily for debugging purposes and experimenting with different EML files using the emailVerify provable function.
*
* Additionally, this script has highlighted some limitations and bugs in helper functions,
* such as support issues for certain email providers like Hotmail and ProtonMail.
*/
export {};