actually functional

This commit is contained in:
nab138
2025-08-09 21:47:14 -04:00
parent 74f5af717c
commit 8592efb0d5
50 changed files with 216 additions and 5128 deletions

241
Cargo.lock generated
View File

@@ -37,23 +37,6 @@ dependencies = [
"memchr",
]
[[package]]
name = "android-loader"
version = "0.2.0"
source = "git+https://github.com/Dadoum/android-loader?branch=bigger_pages#dfa86501afca7caa23d5ce15322ac7260d857485"
dependencies = [
"anyhow",
"lazy_static",
"libc",
"log",
"memmap2",
"rand 0.8.5",
"region",
"sysv64",
"xmas-elf",
"zero",
]
[[package]]
name = "android-tzdata"
version = "0.1.1"
@@ -1017,32 +1000,6 @@ dependencies = [
"cc",
]
[[package]]
name = "icloud_auth"
version = "0.1.0"
dependencies = [
"aes",
"base64 0.22.1",
"botan",
"cbc",
"hmac",
"num-bigint",
"omnisette",
"pbkdf2 0.11.0",
"pkcs7",
"plist",
"rand 0.9.2",
"reqwest",
"rustls 0.23.31",
"rustls-pemfile 2.2.0",
"serde",
"serde_json",
"sha2",
"srp",
"thiserror",
"tokio",
]
[[package]]
name = "icu_collections"
version = "2.0.0"
@@ -1217,8 +1174,8 @@ version = "0.1.0"
dependencies = [
"futures",
"hex",
"icloud_auth",
"idevice",
"nab138_icloud_auth",
"openssl",
"plist",
"serde",
@@ -1384,15 +1341,6 @@ version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "mach2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44"
dependencies = [
"libc",
]
[[package]]
name = "malloc_buf"
version = "0.0.6"
@@ -1408,15 +1356,6 @@ version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "memmap2"
version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
dependencies = [
"libc",
]
[[package]]
name = "mime"
version = "0.3.17"
@@ -1449,6 +1388,77 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "nab138_icloud_auth"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64bf4de13886dca6ab302234f3ccc7f5992c86bf0b66addd29b38aa83bd2e6a1"
dependencies = [
"aes",
"base64 0.22.1",
"botan",
"cbc",
"hmac",
"nab138_omnisette",
"nab138_srp",
"num-bigint",
"pbkdf2 0.11.0",
"pkcs7",
"plist",
"rand",
"reqwest",
"rustls 0.23.31",
"rustls-pemfile 2.2.0",
"serde",
"serde_json",
"sha2",
"thiserror",
"tokio",
]
[[package]]
name = "nab138_omnisette"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4c93555aa1a34bb59460bb2a24ccb43ffc2b78080730d57801132525f810a1a"
dependencies = [
"anyhow",
"async-trait",
"base64 0.22.1",
"chrono",
"dlopen2",
"futures-util",
"hex",
"libc",
"log",
"objc",
"objc-foundation",
"plist",
"rand",
"remove-async-await",
"reqwest",
"serde",
"serde_json",
"sha2",
"thiserror",
"tokio-tungstenite",
"uuid",
]
[[package]]
name = "nab138_srp"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "587a7a2ae38ab9a818f42c12b02a7ad5d738006f78f3b53a9f28da91fe13411d"
dependencies = [
"base64 0.22.1",
"digest",
"generic-array 1.2.0",
"lazy_static",
"num-bigint",
"subtle",
]
[[package]]
name = "native-tls"
version = "0.2.14"
@@ -1548,34 +1558,6 @@ dependencies = [
"memchr",
]
[[package]]
name = "omnisette"
version = "0.1.0"
dependencies = [
"android-loader",
"anyhow",
"async-trait",
"base64 0.22.1",
"chrono",
"dlopen2",
"futures-util",
"hex",
"libc",
"log",
"objc",
"objc-foundation",
"plist",
"rand 0.9.2",
"remove-async-await",
"reqwest",
"serde",
"serde_json",
"sha2",
"thiserror",
"tokio-tungstenite",
"uuid",
]
[[package]]
name = "once_cell"
version = "1.21.3"
@@ -1811,37 +1793,16 @@ version = "5.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha 0.3.1",
"rand_core 0.6.4",
]
[[package]]
name = "rand"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha 0.9.0",
"rand_chacha",
"rand_core 0.9.3",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core 0.6.4",
]
[[package]]
name = "rand_chacha"
version = "0.9.0"
@@ -1857,9 +1818,6 @@ name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom 0.2.16",
]
[[package]]
name = "rand_core"
@@ -1899,18 +1857,6 @@ version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
name = "region"
version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6b6ebd13bc009aef9cd476c1310d49ac354d36e240cf1bd753290f3dc7199a7"
dependencies = [
"bitflags 1.3.2",
"libc",
"mach2",
"windows-sys 0.52.0",
]
[[package]]
name = "remove-async-await"
version = "1.0.1"
@@ -2275,18 +2221,6 @@ dependencies = [
"der",
]
[[package]]
name = "srp"
version = "0.6.0"
dependencies = [
"base64 0.22.1",
"digest",
"generic-array 1.2.0",
"lazy_static",
"num-bigint",
"subtle",
]
[[package]]
name = "stable_deref_trait"
version = "1.2.0"
@@ -2359,11 +2293,6 @@ dependencies = [
"libc",
]
[[package]]
name = "sysv64"
version = "0.1.0"
source = "git+https://github.com/Dadoum/android-loader?branch=bigger_pages#dfa86501afca7caa23d5ce15322ac7260d857485"
[[package]]
name = "tempfile"
version = "3.20.0"
@@ -2556,7 +2485,7 @@ dependencies = [
"http 1.3.1",
"httparse",
"log",
"rand 0.9.2",
"rand",
"rustls 0.23.31",
"rustls-pki-types",
"sha1",
@@ -2619,7 +2548,7 @@ checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d"
dependencies = [
"getrandom 0.3.3",
"js-sys",
"rand 0.9.2",
"rand",
"uuid-macro-internal",
"wasm-bindgen",
]
@@ -3127,15 +3056,6 @@ dependencies = [
"spki",
]
[[package]]
name = "xmas-elf"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42c49817e78342f7f30a181573d82ff55b88a35f86ccaf07fc64b3008f56d1c6"
dependencies = [
"zero",
]
[[package]]
name = "yoke"
version = "0.8.0"
@@ -3160,12 +3080,6 @@ dependencies = [
"synstructure",
]
[[package]]
name = "zero"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fe21bcc34ca7fe6dd56cc2cb1261ea59d6b93620215aefb5ea6032265527784"
[[package]]
name = "zerocopy"
version = "0.8.26"
@@ -3307,13 +3221,14 @@ dependencies = [
[[package]]
name = "zsign-rust"
version = "0.1.1"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9190123f81d18e157f6f3aab47f19b786538b158417f06ee9348c63163b23fca"
checksum = "7ce7a0eed461e2228b070bd8801e20be6308957204e8193dc87a1b7e51c1b5d3"
dependencies = [
"bindgen 0.72.0",
"cc",
"openssl-sys",
"thiserror",
]
[[package]]