diff --git a/Cargo.lock b/Cargo.lock
index c97648d..531696e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 4
+version = 3
[[package]]
name = "Inflector"
@@ -83,9 +83,9 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.93"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775"
+checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04"
[[package]]
name = "arrayref"
@@ -105,12 +105,6 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
-[[package]]
-name = "ascii"
-version = "0.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e"
-
[[package]]
name = "ascii"
version = "1.1.0"
@@ -202,7 +196,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -243,7 +237,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -265,7 +259,7 @@ dependencies = [
"futures-util",
"http 0.2.12",
"http-body 0.4.6",
- "hyper 0.14.31",
+ "hyper 0.14.32",
"itoa",
"matchit",
"memchr",
@@ -279,7 +273,7 @@ dependencies = [
"serde_urlencoded",
"sync_wrapper 0.1.2",
"tokio",
- "tower",
+ "tower 0.4.13",
"tower-layer",
"tower-service",
]
@@ -548,9 +542,9 @@ dependencies = [
[[package]]
name = "candid"
-version = "0.10.10"
+version = "0.10.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c30ee7f886f296b6422c0ff017e89dd4f831521dfdcc76f3f71aae1ce817222"
+checksum = "d04aa85a9ba2542bded33d1eff0ffb17cb98b1be8117e0a25e1ad8c62bedc881"
dependencies = [
"anyhow",
"binread",
@@ -578,7 +572,7 @@ dependencies = [
"lazy_static",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -606,25 +600,19 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.2"
+version = "1.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
+checksum = "8d6dbb628b8f8555f86d0323c2eb39e3ec81901f4b83e091db8a6a76d316a333"
dependencies = [
"jobserver",
"libc",
"shlex",
]
-[[package]]
-name = "cesu8"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
-
[[package]]
name = "cfdkim"
version = "0.3.3"
-source = "git+https://github.com/zkemail/cfdkim.git#3b1cfd75e2afad12fbc1e8ece50e93e51415118b"
+source = "git+https://github.com/zkemail/cfdkim.git#f778b0961ecbfc0a18e2dc801ea45886aeb0a242"
dependencies = [
"base64 0.21.7",
"chrono",
@@ -677,9 +665,9 @@ dependencies = [
[[package]]
name = "chrono"
-version = "0.4.38"
+version = "0.4.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
+checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
dependencies = [
"android-tzdata",
"iana-time-zone",
@@ -758,19 +746,6 @@ dependencies = [
"thiserror 1.0.69",
]
-[[package]]
-name = "combine"
-version = "3.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680"
-dependencies = [
- "ascii 0.9.3",
- "byteorder",
- "either",
- "memchr",
- "unreachable",
-]
-
[[package]]
name = "combine"
version = "4.6.7"
@@ -882,18 +857,18 @@ dependencies = [
[[package]]
name = "crossbeam-channel"
-version = "0.5.13"
+version = "0.5.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
+checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
-version = "0.8.5"
+version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
dependencies = [
"crossbeam-epoch",
"crossbeam-utils",
@@ -910,18 +885,18 @@ dependencies = [
[[package]]
name = "crossbeam-queue"
-version = "0.3.11"
+version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35"
+checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.20"
+version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crunchy"
@@ -984,7 +959,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -1043,7 +1018,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -1117,7 +1092,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -1447,7 +1422,7 @@ dependencies = [
"reqwest 0.11.27",
"serde",
"serde_json",
- "syn 2.0.90",
+ "syn 2.0.92",
"toml",
"walkdir",
]
@@ -1465,7 +1440,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_json",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -1491,7 +1466,7 @@ dependencies = [
"serde",
"serde_json",
"strum",
- "syn 2.0.90",
+ "syn 2.0.92",
"tempfile",
"thiserror 1.0.69",
"tiny-keccak",
@@ -1688,9 +1663,9 @@ dependencies = [
[[package]]
name = "fastrand"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
+checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "ff"
@@ -1881,7 +1856,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -1992,11 +1967,11 @@ dependencies = [
[[package]]
name = "graphql-parser"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2ebc8013b4426d5b81a4364c419a95ed0b404af2b82e2457de52d9348f0e474"
+checksum = "7a818c0d883d7c0801df27be910917750932be279c7bc82dc541b8769425f409"
dependencies = [
- "combine 3.8.1",
+ "combine",
"thiserror 1.0.69",
]
@@ -2079,7 +2054,7 @@ checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403"
[[package]]
name = "halo2curves"
version = "0.7.0"
-source = "git+https://github.com/privacy-scaling-explorations/halo2curves.git#8771fe5a5d54fc03e74dbc8915db5dad3ab46a83"
+source = "git+https://github.com/privacy-scaling-explorations/halo2curves.git?rev=8771fe5a5d54fc03e74dbc8915db5dad3ab46a83#8771fe5a5d54fc03e74dbc8915db5dad3ab46a83"
dependencies = [
"blake2",
"digest 0.10.7",
@@ -2105,7 +2080,7 @@ dependencies = [
[[package]]
name = "halo2derive"
version = "0.1.0"
-source = "git+https://github.com/privacy-scaling-explorations/halo2curves.git#8771fe5a5d54fc03e74dbc8915db5dad3ab46a83"
+source = "git+https://github.com/privacy-scaling-explorations/halo2curves.git?rev=8771fe5a5d54fc03e74dbc8915db5dad3ab46a83#8771fe5a5d54fc03e74dbc8915db5dad3ab46a83"
dependencies = [
"num-bigint",
"num-integer",
@@ -2258,9 +2233,9 @@ dependencies = [
[[package]]
name = "http"
-version = "1.1.0"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
+checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
dependencies = [
"bytes",
"fnv",
@@ -2285,7 +2260,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
dependencies = [
"bytes",
- "http 1.1.0",
+ "http 1.2.0",
]
[[package]]
@@ -2296,7 +2271,7 @@ checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
dependencies = [
"bytes",
"futures-util",
- "http 1.1.0",
+ "http 1.2.0",
"http-body 1.0.1",
"pin-project-lite",
]
@@ -2315,9 +2290,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hyper"
-version = "0.14.31"
+version = "0.14.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85"
+checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
dependencies = [
"bytes",
"futures-channel",
@@ -2339,14 +2314,14 @@ dependencies = [
[[package]]
name = "hyper"
-version = "1.5.1"
+version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f"
+checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
- "http 1.1.0",
+ "http 1.2.0",
"http-body 1.0.1",
"httparse",
"itoa",
@@ -2364,7 +2339,7 @@ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
dependencies = [
"futures-util",
"http 0.2.12",
- "hyper 0.14.31",
+ "hyper 0.14.32",
"rustls 0.21.12",
"tokio",
"tokio-rustls 0.24.1",
@@ -2372,18 +2347,18 @@ dependencies = [
[[package]]
name = "hyper-rustls"
-version = "0.27.3"
+version = "0.27.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
+checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2"
dependencies = [
"futures-util",
- "http 1.1.0",
- "hyper 1.5.1",
+ "http 1.2.0",
+ "hyper 1.5.2",
"hyper-util",
- "rustls 0.23.19",
+ "rustls 0.23.20",
"rustls-pki-types",
"tokio",
- "tokio-rustls 0.26.0",
+ "tokio-rustls 0.26.1",
"tower-service",
"webpki-roots 0.26.7",
]
@@ -2395,7 +2370,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
- "hyper 0.14.31",
+ "hyper 0.14.32",
"native-tls",
"tokio",
"tokio-native-tls",
@@ -2410,9 +2385,9 @@ dependencies = [
"bytes",
"futures-channel",
"futures-util",
- "http 1.1.0",
+ "http 1.2.0",
"http-body 1.0.1",
- "hyper 1.5.1",
+ "hyper 1.5.2",
"pin-project-lite",
"socket2 0.5.8",
"tokio",
@@ -2456,7 +2431,7 @@ dependencies = [
"ed25519-consensus",
"futures-util",
"hex",
- "http 1.1.0",
+ "http 1.2.0",
"http-body 1.0.1",
"ic-certification",
"ic-transport-types",
@@ -2468,7 +2443,7 @@ dependencies = [
"pkcs8",
"rand",
"rangemap",
- "reqwest 0.12.9",
+ "reqwest 0.12.10",
"ring 0.17.8",
"rustls-webpki 0.102.8",
"sec1",
@@ -2691,7 +2666,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -2780,7 +2755,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -2889,28 +2864,6 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
-[[package]]
-name = "jni"
-version = "0.21.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
-dependencies = [
- "cesu8",
- "cfg-if",
- "combine 4.6.7",
- "jni-sys",
- "log",
- "thiserror 1.0.69",
- "walkdir",
- "windows-sys 0.45.0",
-]
-
-[[package]]
-name = "jni-sys"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
-
[[package]]
name = "jobserver"
version = "0.1.32"
@@ -2922,9 +2875,9 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.74"
+version = "0.3.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705"
+checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7"
dependencies = [
"once_cell",
"wasm-bindgen",
@@ -3040,9 +2993,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.167"
+version = "0.2.169"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
[[package]]
name = "libm"
@@ -3125,15 +3078,6 @@ dependencies = [
"quoted_printable 0.5.1",
]
-[[package]]
-name = "malloc_buf"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "match_cfg"
version = "0.1.0"
@@ -3192,9 +3136,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
-version = "0.8.0"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
dependencies = [
"adler2",
]
@@ -3227,12 +3171,6 @@ dependencies = [
"tempfile",
]
-[[package]]
-name = "ndk-context"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
-
[[package]]
name = "new_debug_unreachable"
version = "1.0.6"
@@ -3355,7 +3293,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -3378,20 +3316,11 @@ dependencies = [
"url",
]
-[[package]]
-name = "objc"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
-dependencies = [
- "malloc_buf",
-]
-
[[package]]
name = "object"
-version = "0.36.5"
+version = "0.36.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
dependencies = [
"memchr",
]
@@ -3456,7 +3385,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -3579,7 +3508,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall 0.5.7",
+ "redox_syscall 0.5.8",
"smallvec",
"windows-targets 0.52.6",
]
@@ -3680,20 +3609,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pest"
-version = "2.7.14"
+version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442"
+checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
dependencies = [
"memchr",
- "thiserror 1.0.69",
+ "thiserror 2.0.9",
"ucd-trie",
]
[[package]]
name = "pest_derive"
-version = "2.7.14"
+version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd"
+checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
dependencies = [
"pest",
"pest_generator",
@@ -3701,22 +3630,22 @@ dependencies = [
[[package]]
name = "pest_generator"
-version = "2.7.14"
+version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e"
+checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
dependencies = [
"pest",
"pest_meta",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
name = "pest_meta"
-version = "2.7.14"
+version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d"
+checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
dependencies = [
"once_cell",
"pest",
@@ -3773,7 +3702,7 @@ dependencies = [
"phf_shared 0.11.2",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -3811,7 +3740,7 @@ checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -3856,7 +3785,7 @@ checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
[[package]]
name = "poseidon-rs"
version = "1.0.0"
-source = "git+https://github.com/zkemail/poseidon-rs.git#fe5ce2634c27326219d4faf75beb73b40a0beb7d"
+source = "git+https://github.com/zkemail/poseidon-rs.git#c1df2bbb9cd81d761c8f403a4ee6d330f121f718"
dependencies = [
"getrandom",
"halo2curves",
@@ -3904,7 +3833,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -3950,9 +3879,9 @@ dependencies = [
[[package]]
name = "proptest"
-version = "1.5.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d"
+checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50"
dependencies = [
"bitflags 2.6.0",
"lazy_static",
@@ -3996,9 +3925,9 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash",
- "rustls 0.23.19",
+ "rustls 0.23.20",
"socket2 0.5.8",
- "thiserror 2.0.3",
+ "thiserror 2.0.9",
"tokio",
"tracing",
]
@@ -4014,10 +3943,10 @@ dependencies = [
"rand",
"ring 0.17.8",
"rustc-hash",
- "rustls 0.23.19",
+ "rustls 0.23.20",
"rustls-pki-types",
"slab",
- "thiserror 2.0.3",
+ "thiserror 2.0.9",
"tinyvec",
"tracing",
"web-time",
@@ -4025,9 +3954,9 @@ dependencies = [
[[package]]
name = "quinn-udp"
-version = "0.5.7"
+version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da"
+checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904"
dependencies = [
"cfg_aliases 0.2.1",
"libc",
@@ -4039,9 +3968,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.37"
+version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
dependencies = [
"proc-macro2",
]
@@ -4109,12 +4038,6 @@ version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f60fcc7d6849342eff22c4350c8b9a989ee8ceabc4b481253e8946b9fe83d684"
-[[package]]
-name = "raw-window-handle"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9"
-
[[package]]
name = "rayon"
version = "1.10.0"
@@ -4146,9 +4069,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
+checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
dependencies = [
"bitflags 2.6.0",
]
@@ -4166,9 +4089,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.11.1"
+version = "1.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
+checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
dependencies = [
"aho-corasick",
"memchr",
@@ -4213,7 +4136,8 @@ dependencies = [
"graphql_client",
"handlebars",
"hex",
- "http 1.1.0",
+ "home",
+ "http 1.2.0",
"ic-agent",
"ic-utils",
"lazy_static",
@@ -4239,17 +4163,17 @@ dependencies = [
"tokio",
"tower-http",
"uuid 1.11.0",
- "webbrowser",
]
[[package]]
name = "relayer-utils"
-version = "0.4.2"
-source = "git+https://github.com/zkemail/relayer-utils.git#0663df1271beac13ec14c731ee1ce7ae4be54d16"
+version = "0.4.60"
+source = "git+https://github.com/zkemail/relayer-utils.git#cb50b38e9f35d275e19dd8f2cfbe0d0203452c18"
dependencies = [
"anyhow",
"base64 0.22.1",
"cfdkim",
+ "console_error_panic_hook",
"ethers",
"file-rotate",
"halo2curves",
@@ -4292,7 +4216,7 @@ dependencies = [
"h2",
"http 0.2.12",
"http-body 0.4.6",
- "hyper 0.14.31",
+ "hyper 0.14.32",
"hyper-rustls 0.24.2",
"hyper-tls",
"ipnet",
@@ -4324,20 +4248,20 @@ dependencies = [
[[package]]
name = "reqwest"
-version = "0.12.9"
+version = "0.12.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
+checksum = "3d3536321cfc54baa8cf3e273d5e1f63f889067829c4b410fcdbac8ca7b80994"
dependencies = [
"base64 0.22.1",
"bytes",
"futures-channel",
"futures-core",
"futures-util",
- "http 1.1.0",
+ "http 1.2.0",
"http-body 1.0.1",
"http-body-util",
- "hyper 1.5.1",
- "hyper-rustls 0.27.3",
+ "hyper 1.5.2",
+ "hyper-rustls 0.27.5",
"hyper-util",
"ipnet",
"js-sys",
@@ -4347,7 +4271,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
- "rustls 0.23.19",
+ "rustls 0.23.20",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
"serde",
@@ -4355,8 +4279,9 @@ dependencies = [
"serde_urlencoded",
"sync_wrapper 1.0.2",
"tokio",
- "tokio-rustls 0.26.0",
+ "tokio-rustls 0.26.1",
"tokio-util",
+ "tower 0.5.2",
"tower-service",
"url",
"wasm-bindgen",
@@ -4499,15 +4424,15 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.41"
+version = "0.38.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6"
+checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85"
dependencies = [
"bitflags 2.6.0",
"errno",
"libc",
"linux-raw-sys",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -4524,9 +4449,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.19"
+version = "0.23.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1"
+checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b"
dependencies = [
"once_cell",
"ring 0.17.8",
@@ -4556,9 +4481,9 @@ dependencies = [
[[package]]
name = "rustls-pki-types"
-version = "1.10.0"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
+checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
dependencies = [
"web-time",
]
@@ -4586,9 +4511,9 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.18"
+version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
[[package]]
name = "ryu"
@@ -4635,7 +4560,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -4710,9 +4635,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
-version = "2.12.1"
+version = "2.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2"
+checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5"
dependencies = [
"core-foundation-sys",
"libc",
@@ -4720,15 +4645,15 @@ dependencies = [
[[package]]
name = "self_cell"
-version = "1.0.4"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
+checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe"
[[package]]
name = "semver"
-version = "1.0.23"
+version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
+checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
dependencies = [
"serde",
]
@@ -4747,9 +4672,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73"
[[package]]
name = "serde"
-version = "1.0.215"
+version = "1.0.216"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
+checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
dependencies = [
"serde_derive",
]
@@ -4786,20 +4711,20 @@ dependencies = [
[[package]]
name = "serde_derive"
-version = "1.0.215"
+version = "1.0.216"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
+checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
name = "serde_json"
-version = "1.0.133"
+version = "1.0.134"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
+checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d"
dependencies = [
"itoa",
"memchr",
@@ -4825,7 +4750,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5369,7 +5294,7 @@ dependencies = [
"proc-macro2",
"quote",
"rustversion",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5417,9 +5342,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.90"
+version = "2.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
+checksum = "70ae51629bf965c5c098cc9e87908a3df5301051a9e087d6f9bef5c9771ed126"
dependencies = [
"proc-macro2",
"quote",
@@ -5449,7 +5374,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5492,7 +5417,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
dependencies = [
"cfg-if",
- "fastrand 2.2.0",
+ "fastrand 2.3.0",
"once_cell",
"rustix",
"windows-sys 0.59.0",
@@ -5520,11 +5445,11 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.3"
+version = "2.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
+checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc"
dependencies = [
- "thiserror-impl 2.0.3",
+ "thiserror-impl 2.0.9",
]
[[package]]
@@ -5535,18 +5460,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.3"
+version = "2.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
+checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5605,7 +5530,7 @@ version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82"
dependencies = [
- "ascii 1.1.0",
+ "ascii",
"chunked_transfer",
"httpdate",
"log",
@@ -5623,9 +5548,9 @@ dependencies = [
[[package]]
name = "tinyvec"
-version = "1.8.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
+checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8"
dependencies = [
"tinyvec_macros",
]
@@ -5638,9 +5563,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.41.1"
+version = "1.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
+checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
dependencies = [
"backtrace",
"bytes",
@@ -5662,7 +5587,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5687,20 +5612,19 @@ dependencies = [
[[package]]
name = "tokio-rustls"
-version = "0.26.0"
+version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
+checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37"
dependencies = [
- "rustls 0.23.19",
- "rustls-pki-types",
+ "rustls 0.23.20",
"tokio",
]
[[package]]
name = "tokio-stream"
-version = "0.1.16"
+version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1"
+checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047"
dependencies = [
"futures-core",
"pin-project-lite",
@@ -5724,9 +5648,9 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.12"
+version = "0.7.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
+checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
dependencies = [
"bytes",
"futures-core",
@@ -5785,6 +5709,21 @@ dependencies = [
"tracing",
]
+[[package]]
+name = "tower"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper 1.0.2",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
[[package]]
name = "tower-http"
version = "0.4.2"
@@ -5833,7 +5772,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -5964,9 +5903,9 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
[[package]]
name = "unicode-bidi"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893"
+checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
[[package]]
name = "unicode-ident"
@@ -6013,15 +5952,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
-[[package]]
-name = "unreachable"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56"
-dependencies = [
- "void",
-]
-
[[package]]
name = "unroll"
version = "0.1.5"
@@ -6108,12 +6038,6 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
-[[package]]
-name = "void"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
-
[[package]]
name = "walkdir"
version = "2.5.0"
@@ -6147,9 +6071,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
[[package]]
name = "wasm-bindgen"
-version = "0.2.97"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c"
+checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396"
dependencies = [
"cfg-if",
"once_cell",
@@ -6160,24 +6084,23 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.97"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd"
+checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79"
dependencies = [
"bumpalo",
"log",
- "once_cell",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.47"
+version = "0.4.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9dfaf8f50e5f293737ee323940c7d8b08a66a95a419223d9f41610ca08b0833d"
+checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2"
dependencies = [
"cfg-if",
"js-sys",
@@ -6188,9 +6111,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.97"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051"
+checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -6198,32 +6121,31 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.97"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d"
+checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.97"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"
+checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
[[package]]
name = "wasm-bindgen-test"
-version = "0.3.47"
+version = "0.3.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d919bb60ebcecb9160afee6c71b43a58a4f0517a2de0054cd050d02cec08201"
+checksum = "c61d44563646eb934577f2772656c7ad5e9c90fac78aa8013d776fcdaf24625d"
dependencies = [
"js-sys",
"minicov",
- "once_cell",
"scoped-tls",
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -6232,13 +6154,13 @@ dependencies = [
[[package]]
name = "wasm-bindgen-test-macro"
-version = "0.3.47"
+version = "0.3.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "222ebde6ea87fbfa6bdd2e9f1fd8a91d60aee5db68792632176c4e16a74fc7d8"
+checksum = "54171416ce73aa0b9c377b51cc3cb542becee1cd678204812e8392e5b0e4a031"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -6256,9 +6178,9 @@ dependencies = [
[[package]]
name = "web-sys"
-version = "0.3.74"
+version = "0.3.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a98bc3c33f0fe7e59ad7cd041b89034fa82a7c2d4365ca538dda6cdaf513863c"
+checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -6274,23 +6196,6 @@ dependencies = [
"wasm-bindgen",
]
-[[package]]
-name = "webbrowser"
-version = "0.8.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db67ae75a9405634f5882791678772c94ff5f16a66535aae186e26aa0841fc8b"
-dependencies = [
- "core-foundation",
- "home",
- "jni",
- "log",
- "ndk-context",
- "objc",
- "raw-window-handle",
- "url",
- "web-sys",
-]
-
[[package]]
name = "webpki-roots"
version = "0.25.4"
@@ -6312,7 +6217,7 @@ version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d"
dependencies = [
- "redox_syscall 0.5.7",
+ "redox_syscall 0.5.8",
"wasite",
]
@@ -6392,15 +6297,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-sys"
-version = "0.45.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
-dependencies = [
- "windows-targets 0.42.2",
-]
-
[[package]]
name = "windows-sys"
version = "0.48.0"
@@ -6428,21 +6324,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-targets"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
-dependencies = [
- "windows_aarch64_gnullvm 0.42.2",
- "windows_aarch64_msvc 0.42.2",
- "windows_i686_gnu 0.42.2",
- "windows_i686_msvc 0.42.2",
- "windows_x86_64_gnu 0.42.2",
- "windows_x86_64_gnullvm 0.42.2",
- "windows_x86_64_msvc 0.42.2",
-]
-
[[package]]
name = "windows-targets"
version = "0.48.5"
@@ -6474,12 +6355,6 @@ dependencies = [
"windows_x86_64_msvc 0.52.6",
]
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
-
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.5"
@@ -6492,12 +6367,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
@@ -6510,12 +6379,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
-
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
@@ -6534,12 +6397,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
-
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
@@ -6552,12 +6409,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
@@ -6570,12 +6421,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
-
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.5"
@@ -6588,12 +6433,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
@@ -6691,7 +6530,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
"synstructure",
]
@@ -6713,7 +6552,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -6733,7 +6572,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
"synstructure",
]
@@ -6762,7 +6601,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.92",
]
[[package]]
@@ -6788,7 +6627,7 @@ dependencies = [
[[package]]
name = "zk-regex-apis"
version = "2.3.1"
-source = "git+https://github.com/zkemail/zk-regex.git#7002a2179e076449b84e3e7e8ba94e88d0a2dc2f"
+source = "git+https://github.com/zkemail/zk-regex.git?branch=dimidumo/zk-802-consistent-casing-everywhere#5b357f2c7aa4643964534d88ebe5db3512048a71"
dependencies = [
"fancy-regex",
"itertools 0.13.0",
diff --git a/packages/circuits/helpers/email_auth.ts b/packages/circuits/helpers/email_auth.ts
index 458ecc0..1d5a9f2 100644
--- a/packages/circuits/helpers/email_auth.ts
+++ b/packages/circuits/helpers/email_auth.ts
@@ -33,12 +33,7 @@ export async function genEmailCircuitInput(
const jsonStr = await relayerUtils.generateEmailCircuitInput(
emailRaw,
accountCode,
- {
- ignore_body_hash_check: options?.ignoreBodyHashCheck,
- max_header_length: options?.maxHeaderLength,
- max_body_length: options?.maxBodyLength,
- sha_precompute_selector: options?.shaPrecomputeSelector,
- }
+ options
);
return JSON.parse(jsonStr);
}
diff --git a/packages/circuits/helpers/recipient.ts b/packages/circuits/helpers/recipient.ts
index 00198da..6da74df 100644
--- a/packages/circuits/helpers/recipient.ts
+++ b/packages/circuits/helpers/recipient.ts
@@ -10,9 +10,9 @@ export async function genRecipientInputLegacy(emailFilePath: string): Promise<{
const emailRaw = await promisify(fs.readFile)(emailFilePath, "utf8");
const parsedEmail = await relayerUtils.parseEmail(emailRaw);
const subjectEmailIdxes = relayerUtils.extractSubjectAllIdxes(
- parsedEmail.canonicalized_header
+ parsedEmail.canonicalizedHeader
)[0];
- const subject = parsedEmail.canonicalized_header.slice(
+ const subject = parsedEmail.canonicalizedHeader.slice(
subjectEmailIdxes[0],
subjectEmailIdxes[1]
);
diff --git a/packages/circuits/package.json b/packages/circuits/package.json
index cedc461..857efd2 100644
--- a/packages/circuits/package.json
+++ b/packages/circuits/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@zk-email/circuits": "=6.3.2",
- "@zk-email/relayer-utils": "=0.4.59",
+ "@zk-email/relayer-utils": "=0.4.60",
"@zk-email/zk-regex-circom": "=2.3.1",
"commander": "^12.1.0",
"snarkjs": "=0.7.5"
diff --git a/packages/circuits/tests/email_auth.test.ts b/packages/circuits/tests/email_auth.test.ts
index ac5c14d..8747fe6 100644
--- a/packages/circuits/tests/email_auth.test.ts
+++ b/packages/circuits/tests/email_auth.test.ts
@@ -56,7 +56,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -122,7 +122,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -189,7 +189,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -256,7 +256,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -324,7 +324,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -392,7 +392,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -460,7 +460,7 @@ describe("Email Auth", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
diff --git a/packages/circuits/tests/email_auth_legacy.test.ts b/packages/circuits/tests/email_auth_legacy.test.ts
index 6033c9f..2b37cde 100644
--- a/packages/circuits/tests/email_auth_legacy.test.ts
+++ b/packages/circuits/tests/email_auth_legacy.test.ts
@@ -53,7 +53,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -117,7 +117,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -181,7 +181,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -245,7 +245,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -310,7 +310,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -374,7 +374,7 @@ describe("Email Auth Legacy", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
diff --git a/packages/circuits/tests/emai_auth_legacy_recipient.test.ts b/packages/circuits/tests/email_auth_legacy_recipient.test.ts
similarity index 99%
rename from packages/circuits/tests/emai_auth_legacy_recipient.test.ts
rename to packages/circuits/tests/email_auth_legacy_recipient.test.ts
index 3395259..b838857 100644
--- a/packages/circuits/tests/emai_auth_legacy_recipient.test.ts
+++ b/packages/circuits/tests/email_auth_legacy_recipient.test.ts
@@ -56,7 +56,7 @@ describe("Email Auth Legacy with Recipient", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -139,7 +139,7 @@ describe("Email Auth Legacy with Recipient", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -222,7 +222,7 @@ describe("Email Auth Legacy with Recipient", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -303,7 +303,7 @@ describe("Email Auth Legacy with Recipient", () => {
expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
diff --git a/packages/circuits/tests/email_auth_production.test.ts b/packages/circuits/tests/email_auth_production.test.ts
index 8e6a595..c573e35 100644
--- a/packages/circuits/tests/email_auth_production.test.ts
+++ b/packages/circuits/tests/email_auth_production.test.ts
@@ -12,6 +12,7 @@ const option = {
output: path.join(__dirname, "../build"),
recompile: true,
};
+const shaPrecomputeSelector = '
]*>[^<>/]+
';
jest.setTimeout(1440000);
describe("Email Auth Production", () => {
@@ -57,7 +58,7 @@ describe("Email Auth Production", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -127,7 +128,7 @@ describe("Email Auth Production", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -196,7 +197,7 @@ describe("Email Auth Production", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -265,7 +266,7 @@ describe("Email Auth Production", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -304,6 +305,76 @@ describe("Email Auth Production", () => {
);
});
+ it("Verify a production email for recovery sent from apple email mobile", async () => {
+ const emailFilePath = path.join(
+ __dirname,
+ "./emails/recovery_gmail_from_apple_mail.eml"
+ );
+
+ const emailRaw = readFileSync(emailFilePath, "utf8");
+ const parsedEmail = await relayerUtils.parseEmail(emailRaw);
+ const accountCode =
+ "0x1162ebff40918afe5305e68396f0283eb675901d0387f97d21928d423aaa0b20";
+
+ const circuitInputs =
+ await genEmailCircuitInput(emailFilePath, accountCode, {
+ maxHeaderLength: 1024,
+ maxBodyLength: 1024,
+ ignoreBodyHashCheck: false,
+ shaPrecomputeSelector
+ });
+ console.log(circuitInputs);
+
+ const witness = await circuit.calculateWitness(circuitInputs);
+ await circuit.checkConstraints(witness);
+
+ const domainName = "gmail.com";
+ const paddedDomain = relayerUtils.padString(domainName, 255);
+ const domainFields = await relayerUtils.bytesToFields(paddedDomain);
+ for (let idx = 0; idx < domainFields.length; ++idx) {
+ expect(BigInt(domainFields[idx])).toEqual(witness[1 + idx]);
+ }
+
+ const expectedPubKeyHash = await relayerUtils.publicKeyHash(
+ parsedEmail.publicKey
+ );
+ expect(BigInt(expectedPubKeyHash)).toEqual(
+ witness[1 + domainFields.length]
+ );
+
+ const expectedEmailNullifier = await relayerUtils.emailNullifier(
+ parsedEmail.signature
+ );
+ expect(BigInt(expectedEmailNullifier)).toEqual(
+ witness[1 + domainFields.length + 1]
+ );
+
+ const timestamp = BigInt(1735305312);
+ expect(timestamp).toEqual(witness[1 + domainFields.length + 2]);
+
+ const maskedCommand = "Accept guardian request for 0x952541bDfe8aae3805D5b9A37D5Ae5e1EE68346f";
+ const paddedMaskedCommand = relayerUtils.padString(maskedCommand, 605);
+ const maskedCommandFields =
+ await relayerUtils.bytesToFields(paddedMaskedCommand);
+ for (let idx = 0; idx < maskedCommandFields.length; ++idx) {
+ expect(BigInt(maskedCommandFields[idx])).toEqual(
+ witness[1 + domainFields.length + 3 + idx]
+ );
+ }
+
+ const fromAddr = "suegamisora@gmail.com";
+ const accountSalt = await relayerUtils.generateAccountSalt(fromAddr, accountCode);
+ expect(BigInt(accountSalt)).toEqual(
+ witness[1 + domainFields.length + 3 + maskedCommandFields.length]
+ );
+
+ expect(BigInt(1)).toEqual(
+ witness[
+ 1 + domainFields.length + 3 + maskedCommandFields.length + 1
+ ]
+ );
+ });
+
// it("Verify a production email for recovery sent from outlook pc with the English setting", async () => {
// const emailFilePath = path.join(
// __dirname,
diff --git a/packages/circuits/tests/emai_auth_recipient.test.ts b/packages/circuits/tests/email_auth_recipient.test.ts
similarity index 99%
rename from packages/circuits/tests/emai_auth_recipient.test.ts
rename to packages/circuits/tests/email_auth_recipient.test.ts
index 21fde5f..f12c70b 100644
--- a/packages/circuits/tests/emai_auth_recipient.test.ts
+++ b/packages/circuits/tests/email_auth_recipient.test.ts
@@ -67,7 +67,7 @@ describe("Email Auth with Recipient", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
@@ -160,7 +160,7 @@ describe("Email Auth with Recipient", () => {
}
const expectedPubKeyHash = await relayerUtils.publicKeyHash(
- parsedEmail.public_key
+ parsedEmail.publicKey
);
expect(BigInt(expectedPubKeyHash)).toEqual(
witness[1 + domainFields.length]
diff --git a/packages/circuits/tests/emails/recovery_gmail_from_apple_mail.eml b/packages/circuits/tests/emails/recovery_gmail_from_apple_mail.eml
new file mode 100644
index 0000000..25f542d
--- /dev/null
+++ b/packages/circuits/tests/emails/recovery_gmail_from_apple_mail.eml
@@ -0,0 +1,295 @@
+Delivered-To: arbitrum@sendeth.org
+Received: by 2002:a05:7300:a189:b0:150:7837:3792 with SMTP id co9csp6195243dyb;
+ Fri, 27 Dec 2024 05:15:12 -0800 (PST)
+X-Received: by 2002:a17:902:dace:b0:216:3732:ade3 with SMTP id d9443c01a7336-219e6f25fd1mr350882965ad.35.1735305312412;
+ Fri, 27 Dec 2024 05:15:12 -0800 (PST)
+ARC-Seal: i=1; a=rsa-sha256; t=1735305312; cv=none;
+ d=google.com; s=arc-20240605;
+ b=Csua6iokxQkfrncVPuNPhoP+wMIrqzloVPbi5SvUBWpDF++kAn5u09qTIy4e48kvAd
+ m7D5VYnqbrMiqMjhqG4jPr78uS9MPz0Habh5rilk62XA7d633gq1e6XE87ZYyO+DJ+nO
+ gDhqNx8MYPAwbMtmf5BnxcxdBplgniPHNcBlRQLl2ClXM8t9STwz3XGUsgPQcDK3XA/G
+ jfvhIJjfpnqkKfyIqGlVTZ2yXGgyJjDzF7N1cZvgPUw1nKuNO7xOfHE5E6plSI7W4gb0
+ PZ9Ip0a5qJfvw9J+oQ+KqZCc2A3bxnWt1+z2WkJbG9JFLZs2c7y59s8QHhf40UEJlcJs
+ qEFQ==
+ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
+ h=to:in-reply-to:references:message-id:date:subject:mime-version:from
+ :content-transfer-encoding:dkim-signature;
+ bh=K/W/cFvnMwzxYPgtJfj75It4M3R7fI/t7bx8gD6ae24=;
+ fh=NiFfXpGsf4NiPgQyu56KYLs/TS2Vqsd4I8WrbqKeOhg=;
+ b=GsvokxzjU9w34s8NZWSyDOZNoNVUcEPG/imvUV/AWXcfrjumX3PGae6TenYqxmCzya
+ Navsj4kbmTWamn0/P+7sq6SbwKNj7ayfu/OZzEV73eQ56t8bcg2Mc+OK4RLQxZKWgGbr
+ 8grgZLMHH3J4eE9rPZhFwDLv1wdCdqblginFwdAFFkvThiCUVa/h7e7HeVko0wfYOQpA
+ 5Ju9sP3UyYYPb0X4R+o4+RNx5gAq02oyD8nrfFIWBZuscgTSJ/KoUk84HRat1aDy42lW
+ aJdzyxzcdkL1A6oA7DDwnUSm5/ImVOWDkx8jf7X8wtAslKBT8VrnKuGStYNUTEuqLxUj
+ 7n6Q==;
+ dara=google.com
+ARC-Authentication-Results: i=1; mx.google.com;
+ dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y5QEmYnz;
+ spf=pass (google.com: domain of suegamisora@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=suegamisora@gmail.com;
+ dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
+ dara=pass header.i=@sendeth.org
+Return-Path:
+Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
+ by mx.google.com with SMTPS id d9443c01a7336-219dc7f9a74sor135575245ad.0.2024.12.27.05.15.12
+ for
+ (Google Transport Security);
+ Fri, 27 Dec 2024 05:15:12 -0800 (PST)
+Received-SPF: pass (google.com: domain of suegamisora@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
+Authentication-Results: mx.google.com;
+ dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y5QEmYnz;
+ spf=pass (google.com: domain of suegamisora@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=suegamisora@gmail.com;
+ dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
+ dara=pass header.i=@sendeth.org
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+ d=gmail.com; s=20230601; t=1735305312; x=1735910112; darn=sendeth.org;
+ h=to:in-reply-to:references:message-id:date:subject:mime-version:from
+ :content-transfer-encoding:from:to:cc:subject:date:message-id
+ :reply-to;
+ bh=K/W/cFvnMwzxYPgtJfj75It4M3R7fI/t7bx8gD6ae24=;
+ b=Y5QEmYnzk/axJVZAoPWNtFbvGmh2Y+cPh1VOjaEb4lJP9t4jgdC661b1rrXh8OBS6O
+ IMy2E7qapsbGjDjaLKKBsomMBkdhJEm4ztEqD+ZQJh+yxF0Gbg5+tSpCP9Fj8qF6VtBf
+ Zx3IbSIar5q3TjTmEtVGitoonhOACjGF4cjmsWFonB8DuHMdO1eCBoLCfzjEUK9TkYAO
+ Evm4+tBj+ljwnyojB1AkgQAN27rffNb1K+W4v+gsT0Vu9tiYVx65IUwoB4XSZX0IyzTg
+ 4RzvdSNWNvdEjGXXopvp8v8YZjJQ5KZ+vOvM1a8ypBWxnv8co+rbKzQPebblReN/rjPP
+ izzg==
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+ d=1e100.net; s=20230601; t=1735305312; x=1735910112;
+ h=to:in-reply-to:references:message-id:date:subject:mime-version:from
+ :content-transfer-encoding:x-gm-message-state:from:to:cc:subject
+ :date:message-id:reply-to;
+ bh=K/W/cFvnMwzxYPgtJfj75It4M3R7fI/t7bx8gD6ae24=;
+ b=re41oGdHzFV3a49OZyz49fSaRoxuWOvYZWsFlghErZRvCLCaUwb6aMLl94+g7bf1WT
+ HHqAoB4oZrvMB/UrT0bgAjix5Zw5Sz7OQC3DrryiSJpjMK6169FZhD4zHlU9L+a9ZpU4
+ xXY4NaJEVXGWTAR30DV4Bpe2onmbbxtKXONxe9Rr2x8cpducSRiBLOVkjYeg4PgN12do
+ DmdIDV49svHIKJTtbw4Bqjf/2kpPCFQ+DVoqH8BmrZFlwntOPHpxqm9KC5zgDTfa3nmM
+ AJ/gmZV9dSOH1ieHo/+8syFRcBAfr2YjPwciRbbbO68n2p9O2CAg7bz14iqZRkAKEcz9
+ T3NQ==
+X-Gm-Message-State: AOJu0YzkUKJTje9pCg/dgXj+StwAGACxx/Mnibtrds6YFDeWY1LXpQVL
+ ABCt2dP5/iGzpSgjLp2kxVYVGJC16VAgPcIDHb1bIhkEoE+kTIAHR7f82g==
+X-Gm-Gg: ASbGncseXdGKqBfdY92bP2QG19Kib6cypZnB2EfDoE1T1J5zc5r1fPQ9rirPQrSLXWH
+ HVFguWZSi3myTIWRwFieNj+QAz7CV5FhTpPnU7MJN35oWPnRgo+6RUVPzsvpcagE5BF8E1u95jr
+ OwtMaVZmXuRRGr+0Py+ThZ88BTIn+XpegOYgzK9MD+scp4xYYYhVrCYt7tCwViikdQGWzgOLwIR
+ wH6oKRq/GgMFloowKXfSFxYU5CvDUIfJvWs8saWtrecQdY4WqgHQGD24t331T8b19k/AUvj/Oc=
+X-Google-Smtp-Source: AGHT+IEt/TNLcxSfVgsPp6a3CK6xWCvQHyBDbKHlb3HKKXMwW/V1YNIejBQEb2JXFaoYqyr3iGF7rg==
+X-Received: by 2002:a17:902:dac6:b0:216:32c4:f807 with SMTP id d9443c01a7336-219e6f25fdcmr317972615ad.45.1735305311491;
+ Fri, 27 Dec 2024 05:15:11 -0800 (PST)
+Return-Path:
+Received: from smtpclient.apple ([45.94.210.237])
+ by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842aba7310bsm11345300a12.1.2024.12.27.05.15.10
+ for
+ (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
+ Fri, 27 Dec 2024 05:15:10 -0800 (PST)
+Content-Type: multipart/alternative; boundary=Apple-Mail-796E5E50-7F4E-4214-A04C-B681F4FB247C
+Content-Transfer-Encoding: 7bit
+From: Sora Suegami
+Mime-Version: 1.0 (1.0)
+Subject: Re: [Reply Needed] Recovery: Acceptance Request
+Date: Fri, 27 Dec 2024 22:14:55 +0900
+Message-Id: <50198312-F2A0-4893-A90D-66691D0841FA@gmail.com>
+References:
+In-Reply-To:
+To: arbitrum@sendeth.org
+X-Mailer: iPhone Mail (22A3354)
+
+
+--Apple-Mail-796E5E50-7F4E-4214-A04C-B681F4FB247C
+Content-Type: text/html;
+ charset=utf-8
+Content-Transfer-Encoding: quoted-printable
+
+ ConfirmiPhone=E3=81=8B=E3=82=89=E9=80=81=E4=BF=A1
2024/12/27 22:14=E3=80=81arbitrum=
+@sendeth.org=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB: =
+=EF=BB=BF
+
+
+ =20
+
+
+
+ =20
+ =20
+
+
+
+
+
+
+
+
+
+
+ Hi, suegamisora@gmail.com!
+
+
+
+
+ You have received an guardian request from the wallet addres=
+s 0x952541bdfe8aae3805d5b9a37d5ae5e1ee68346f . Reply "Confirm" to this email to accept the request.
+ Your request ID is #671422888.
+
+
+ If you did not initiate this request, please contact us imme=
+diately.
+
+
+
+
+
+
+
+ Cheers,The ZK Email Team
+
+
+
+
+
+
+
+
+
+
+
Accept guardian reques=
+t for 0x952541bDfe8aae3805D5b9A37D5Ae5e1EE68346f Code 1162ebff40918afe5305e6=
+8396f0283eb675901d0387f97d21928d423aaa0b20
+ =20
+
+
=
+
+--Apple-Mail-796E5E50-7F4E-4214-A04C-B681F4FB247C--
diff --git a/packages/relayer/Cargo.toml b/packages/relayer/Cargo.toml
index e611911..b6b4c8b 100644
--- a/packages/relayer/Cargo.toml
+++ b/packages/relayer/Cargo.toml
@@ -19,12 +19,12 @@ async-native-tls = { version = "0.5.0", default-features = false, features = [
"runtime-tokio",
] }
serde = { version = "1.0", features = ["derive"] }
-webbrowser = "0.8.11"
+# webbrowser = "0.8.11"
serde_json = "1.0.68"
tiny_http = "0.12.0"
lettre = { version = "0.10.4", features = ["tokio1", "tokio1-native-tls"] }
ethers = { version = "2.0.10", features = ["abigen"] }
-relayer-utils = { version = "0.4.2", git = "https://github.com/zkemail/relayer-utils.git" }
+relayer-utils = { version = "0.4.60", git = "https://github.com/zkemail/relayer-utils.git" }
futures = "0.3.28"
sqlx = { version = "=0.7.3", features = [
"postgres",
@@ -60,6 +60,7 @@ ic-utils = "0.37.0"
candid = "0.10.10"
thiserror = "1.0.63"
rustc-hex = "2.1.0"
+home = "=0.5.9"
[build-dependencies]
ethers = "2.0.10"
diff --git a/yarn.lock b/yarn.lock
index b990bfe..b6b0722 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1724,10 +1724,10 @@
"@openzeppelin/contracts-upgradeable" "^5.0.0"
dotenv "^16.3.1"
-"@zk-email/relayer-utils@=0.4.59":
- version "0.4.59"
- resolved "https://registry.yarnpkg.com/@zk-email/relayer-utils/-/relayer-utils-0.4.59.tgz#a57b540fa3cf603b3d9d89624d9994e44453bb91"
- integrity sha512-pSKCH/wYuI54Ci5L13md8LNQbwrulQ+HWUyjoiKFH3VtI/NebR98n2JOBvnVHmvpnXfi/l/uimoHnHFD+MOX6A==
+"@zk-email/relayer-utils@=0.4.60":
+ version "0.4.60"
+ resolved "https://registry.yarnpkg.com/@zk-email/relayer-utils/-/relayer-utils-0.4.60.tgz#ab41a7375470e8161caafaa46abb919c710d4a67"
+ integrity sha512-sOfRc8yoAGFUPXNC3a/64IH+8+GEYPfUF0x5HtElsNfYxM/xtLG6hYvNTl7WLhhxe83dl3VtGMcptiiSvRdVrg==
"@zk-email/zk-regex-circom@=2.3.1", "@zk-email/zk-regex-circom@^2.3.1":
version "2.3.1"