1236 Commits

Author SHA1 Message Date
Saleel
72057f5682 circuit: update SelectRegexReveal tests 2024-10-01 13:29:37 +05:30
Saleel
9af72fe4dc circuit: remove index range check from SelectRegexRevel 2024-10-01 13:28:51 +05:30
shreyas-londhe
800b9a1099 feat: added range checks to RevealSubstring template 2024-09-26 12:26:28 +05:30
shreyas-londhe
21e1e47a19 fix: made uniqueness check optional for RevealSubstring 2024-09-14 23:49:35 +05:30
shreyas-londhe
1b8a12867c fix: removed range checks from RevealSubstring 2024-09-14 23:48:55 +05:30
shreyas-londhe
8297549a05 fix: updated test script 2024-09-14 00:28:07 +05:30
shreyas-londhe
eaa79de753 chore: minor change 2024-09-14 00:27:34 +05:30
shreyas-londhe
ab907e30d6 chore: minor change 2024-09-14 00:27:01 +05:30
shreyas-londhe
29f00af4fa chore: increased test timeout for email-verifier 2024-09-14 00:27:01 +05:30
shreyas-londhe
4e587b770c chore: refactor email-verifier tests 2024-09-14 00:27:01 +05:30
shreyas-londhe
62b72d9ada fix: removed unnecessary output in remove-soft-line-breaks 2024-09-14 00:27:01 +05:30
shreyas-londhe
6fae5aa679 feat: added header masking 2024-09-14 00:27:01 +05:30
Yush G
fc99497638 Merge pull request #216 from zkemail/feat/header-masking
Feat: Added Header Masking
2024-09-13 11:29:05 -07:00
shreyas-londhe
58f7d7368d fix: updated test script 2024-09-13 14:17:51 +05:30
shreyas-londhe
aa10b9af3f chore: minor change 2024-09-13 13:47:33 +05:30
shreyas-londhe
eb66674c55 chore: minor change 2024-09-13 13:43:36 +05:30
shreyas-londhe
74958f10f4 chore: minor change 2024-09-13 13:34:35 +05:30
shreyas-londhe
2219b5772e test: added RevealSubstring tests 2024-09-13 13:09:00 +05:30
shreyas-londhe
6200617b0c feat: added RevealSubstring template 2024-09-13 11:52:45 +05:30
shreyas-londhe
a83e476318 chore: increased test timeout for email-verifier 2024-09-13 10:21:30 +05:30
shreyas-londhe
1f02068443 test: added CountSubstringOccurrences tests 2024-09-12 23:47:49 +05:30
shreyas-londhe
49cddd9325 test: added CheckSubstringMatch tests 2024-09-12 23:47:49 +05:30
shreyas-londhe
acae1e36dc feat: added CountSubstringOccurences template 2024-09-12 23:47:49 +05:30
shreyas-londhe
b628939749 chore: renamed template 2024-09-12 23:47:49 +05:30
Sora Suegami
7a2202b44f Feat/fix select regex reveal (#214)
* Fix SelectRegexReveal

* Add a new test for the SelectRegexReveal template.
2024-09-12 23:47:49 +05:30
Jayden
48ef098d88 Apply suggestions from code review
Co-authored-by: saleel <saleel@saleel.xyz>
2024-09-12 23:47:49 +05:30
javiersuweijie
0432fffc44 chore: bumped to version 6.1.5 2024-09-12 23:47:49 +05:30
Jayden
f9a81f3563 Using both Google and Cloudflare 2024-09-12 23:47:49 +05:30
Jayden
9b0d51d7d2 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-09-12 23:47:49 +05:30
Divide-By-0
95e92c74be bump to 6.1.4 and eslint and published to npm 2024-09-12 23:47:49 +05:30
shreyas-londhe
7eb8e6fe50 chore: minor refactoring 2024-09-12 23:47:49 +05:30
shreyas-londhe
f6bdb5d9cc chore: turnOnBodyMasking -> enableBodyMasking name change 2024-09-12 23:47:49 +05:30
shreyas-londhe
ca5714f745 fix: updated mask type 2024-09-12 23:47:49 +05:30
shreyas-londhe
fcbc96caf8 fix: added a assert-bit check in body-masker 2024-09-12 23:47:49 +05:30
shreyas-londhe
20b4c982f0 feat: upstreamed to email-verifier+ tests 2024-09-12 23:47:49 +05:30
shreyas-londhe
116d8f9295 feat: added body masking template 2024-09-12 23:47:49 +05:30
shreyas-londhe
b48152e26c fix: remove-soft-line-break at the beginning 2024-09-12 23:47:49 +05:30
shreyas-londhe
480a3e410d chore: refactor email-verifier tests 2024-09-06 17:20:18 +05:30
shreyas-londhe
e74aed7384 fix: removed unnecessary output in remove-soft-line-breaks 2024-09-06 17:13:34 +05:30
shreyas-londhe
05ac39baa9 feat: added header masking 2024-09-06 17:00:00 +05:30
Sora Suegami
d718290d66 Feat/fix select regex reveal (#214)
* Fix SelectRegexReveal

* Add a new test for the SelectRegexReveal template.
2024-08-29 20:35:03 +09:00
Yush G
4d34ccdada Merge pull request #210 from jayden-sudo/main
Fixed a bug in retrieving the DKIM public key
2024-08-28 09:06:01 -07:00
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
Yush G
f7bf840030 Merge pull request #211 from zkemail/chore/version-bump
chore: bumped to version 6.1.5
v.6.1.5
2024-08-21 01:37:32 -07: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 v.6.1.4 2024-08-20 02:12:53 -07:00
Yush G
8685d35f91 Merge pull request #203 from zkemail/feat/add-body-masking
Feat: Added a Body masking Template
2024-08-06 02:05:09 -07:00