Yogesh Shahi
f529cde39d
chore: added faster api for archive resolution
2025-10-23 03:38:46 +05:30
Yogesh Shahi
544794218a
fix: query DNS and archive in parallel instead of fallback
2025-10-23 02:54:05 +05:30
Yogesh Shahi
39b187ba74
chore: yarn lint and alpha version publish
2025-10-22 20:44:50 +05:30
Yogesh Shahi
3708214bac
fix: add http status check for archive api
2025-10-22 20:16:08 +05:30
Yogesh Shahi
969629509b
fix: add test for multiple dkim key verification
2025-10-22 20:01:29 +05:30
Yogesh Shahi
d7f6a7cb94
fix: try all dkim keys until signature verifies
2025-10-22 20:01:13 +05:30
Yogesh Shahi
82bf17b69b
fix: return all matching dkim records from archive
2025-10-22 20:00:57 +05:30
Yogesh Shahi
57e09c88f7
fix: added test email for multiple signature check
2025-10-22 19:41:46 +05:30
zkfriendly
e11b7801ec
fix: ensure bodyRemaining is a Uint8Array after padding in generatePartialSHA
2025-08-22 12:16:17 +02:00
Yogesh Shahi
848e1a930a
fix: tries both dns provider before failing
2025-06-18 15:00:03 +05:30
Yogesh Shahi
4f4b04f153
fix: removed spaces after quotes in dns query
2025-06-18 14:42:38 +05:30
sukhman
e5b47e899f
refactor condition check
2025-02-19 00:14:54 +05:30
sukhman
69965a4d35
Bump version by minor amount
2025-02-18 03:35:37 +05:30
sukhman
c089d9f739
Add skipBodyHash check flag in verifyDkimSignature function
2025-02-17 01:30:48 +05:30
shreyas-londhe
d43398c9eb
refactor: Update error message in input-generators.test.ts
2025-01-07 11:03:10 +05:30
shreyas-londhe
9986f79324
fix: sha-precompute for qp-encoded selectors
2025-01-07 11:03:10 +05:30
Yush G
d0e6f7ff9b
Merge pull request #234 from zkemail/test/poseidon-modular
...
Feat: Added Poseidon Modular Tests
2024-11-22 02:20:33 -05:00
Shreyas Londhe
ff0094a2d6
fix: minor refactor
...
Co-authored-by: saleel <saleel@saleel.xyz >
2024-11-22 12:06:50 +05:30
Sora Suegami
bbb806bdc6
Update zk-regex ( #236 )
2024-11-08 11:33:57 +09:00
Sora Suegami
3e551fb2e5
Add a function to change the main authorizer to Useroverridable DKIM registry. ( #235 )
...
* Add changeMainAuthorizer
* Update versions
2024-10-30 18:32:55 +09:00
shreyas-londhe
bb697f89e1
feat: added poseidon modular tests
2024-10-30 07:39:07 +05:30
Sora Suegami
3b3c808c61
Update of UserOverrideableDKIMRegistry ( #233 )
...
* Update UserOverridableDKIMRegistry
* Add comments to UserOverrideableDKIMRegistry.sol and remove comment outted codes in UserOverrideableDKIMRegistry.t.sol
* Update solc version
* Add IDKIMRegistryExt
* Remove IDKIMRegistryExt
* Update yarn.lock
* Add one require to isDKIMPublicKeyHashValid in UserOverridableDKIMRegistry
* Update zk-regex version
* update versions
* Update helper version
---------
Co-authored-by: wshino <wshinohara@gmail.com >
2024-10-26 00:11:36 +09:00
Saleel
fb8743454e
chore: version 6.2.0
2024-10-17 11:49:51 +01:00
Saleel
4e9d589597
chore: apply prettier
2024-10-17 11:49:17 +01:00
Saleel
ba1c892949
fix: handle missing p= value
2024-10-16 23:13:20 +01:00
Saleel
18f874691b
fix: add subdomain support in dns-archive.ts
2024-10-16 23:02:11 +01:00
Saleel
89db7a40a1
chore: add DKIMVerificationArgs
2024-10-16 22:59:52 +01:00
Saleel
0df17211d8
chore: fix lint issues
2024-10-14 11:14:52 +01:00
Saleel
fd8ac44903
chore: add default value to fallbackToZKEmailDNSArchive
2024-10-14 11:14:46 +01:00
Saleel
424649210f
chore: move prettier to helpers
2024-10-14 11:13:11 +01:00
Saleel
6cc8b8abd7
chore: remove unused imports
2024-10-11 02:03:55 +05:30
Saleel
c8e98afb5f
chore: refactor fallback tests
2024-10-11 02:02:51 +05:30
Saleel
4e692fffb7
chore: add tests for fallbackToZKEmailDNSArchive
2024-10-11 01:59:21 +05:30
Saleel
8c63422af1
feat: add fallback to archive on https failure
2024-10-11 01:48:42 +05:30
Saleel
5345da8c64
chore: update dns over https
2024-10-11 01:48:22 +05:30
Saleel
ec8bfd3971
chore: refactor DoH resolver
2024-10-11 01:18:42 +05:30
Saleel
136a8c897d
feat: enable dns archiver flag in tryVerifyDKIM
2024-10-11 00:59:50 +05:30
Saleel
5a0d31581d
chore: fix lint issue
2024-10-06 17:19:48 +05:30
Saleel
25119b05d1
chore: version 6.1.6
2024-10-06 17:11:53 +05:30
shreyas-londhe
05ac39baa9
feat: added header masking
2024-09-06 17:00:00 +05:30
Jayden
11c846d021
Apply suggestions from code review
...
Co-authored-by: saleel <saleel@saleel.xyz >
2024-08-22 21:31:59 +08:00
Jayden
df28feaf1e
Merge branch 'zkemail:main' into main
2024-08-22 00:26:27 +08:00
Jayden
c8a4bcfe66
Using both Google and Cloudflare
2024-08-22 00:26:18 +08:00
javiersuweijie
011640824d
chore: bumped to version 6.1.5
2024-08-21 15:19:03 +08:00
Jayden
8f745ad7f0
Bug fixes
...
Fixed a bug in retrieving the DKIM public key:
For some emails, the DKIM public key is not stored TXT record directly in `selector._domainkey.domain`, but instead points to a CNAME.
For example, when retrieving the DKIM public key for the following domain: `protonmail._domainkey.proton.me`, we first need to resolve the CNAME for this domain: `protonmail.domainkey.drfeyjwh4gwlal4e2rhajsytrp6auv2nhenecpzigu7muak6lw6ya.domains.proton.ch`.
However, using the "dns" npm package, the CNAME cannot be resolved.
With this update, all DNS resolutions will be performed using google DNS-over-HTTPS (DoH).
2024-08-21 11:19:44 +08:00
Divide-By-0
4151b9fed2
bump to 6.1.4 and eslint and published to npm
2024-08-20 02:12:53 -07:00
shreyas-londhe
52cc15dde6
chore: turnOnBodyMasking -> enableBodyMasking name change
2024-08-02 09:41:29 +05:30
shreyas-londhe
c0a68f9d78
feat: upstreamed to email-verifier+ tests
2024-08-02 09:35:01 +05:30
shreyas-londhe
0293bfe969
feat: upstreamed into email verifier
2024-07-26 11:58:12 +05:30
Saleel
ffc29607e4
version: 6.1.3
2024-06-27 19:41:14 +04:00