Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from 3rd party canonicalization lib to zk-email-verify helpers #93

Open
foolo opened this issue Jun 12, 2024 · 0 comments
Open
Labels

Comments

@foolo
Copy link
Contributor

foolo commented Jun 12, 2024

Currently we use https://www.npmjs.com/package/dkim in src/app/api/gmail/route.ts
https://github.com/zkemail/archive.prove.email/blob/main/src/lib/store_email_signature.ts#L18

Migrate to zk-email-verify
https://github.com/zkemail/zk-email-verify/blob/main/packages/helpers/src/lib/mailauth/dkim-verifier.ts#L184

Blocked by pending updates related to quotable printable encoding in zk-email-verify, and after that, may need to refactor the code in zk-email-verify to expose a canonicalization function that can be used in a modular way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants