commit e55c1749902811732167a2ce5c099e22e964624f
parent 3be774d8a5e56a5e36f914273f1c7ba562a47af3
Author: triesap <tyson@radroots.org>
Date: Sat, 24 Oct 2026 05:55:24 +0000
deps: adopt patched arithmetic for public identity admission
- Upgrade arithmetic-only k256 and resolve crypto-bigint 0.7.6 across affected locks.
- Align retained X448 dependencies and preserve all production Rust APIs and bodies.
- Add field-boundary and independent RFC7748 vectors with focused dependency reviews.
- Verify native, no_std, WASM, binding runtime, public API and current scoped policy.
Diffstat:
12 files changed, 1050 insertions(+), 284 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -317,12 +317,6 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
-
-[[package]]
-name = "base16ct"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
@@ -843,21 +837,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
-dependencies = [
- "generic-array",
- "rand_core 0.6.4",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "crypto-bigint"
-version = "0.7.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a52aa3fcda4e6302a9f48734f234d35d4721b96f8fe07d073f07ce9df4f0271"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
"cpubits",
"ctutils",
@@ -900,9 +882,9 @@ dependencies = [
[[package]]
name = "ctutils"
-version = "0.4.4"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12218662ccac37d9714f2191252553d67585b97df8c839cbe49e0bde278dc865"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
dependencies = [
"cmov",
"subtle",
@@ -1173,11 +1155,11 @@ dependencies = [
[[package]]
name = "ed448-goldilocks"
-version = "0.14.0-pre.13"
+version = "0.14.0-pre.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8be3c3dac25c52fc0f2f193687d09efa1e4c8981f6b8544acc9faffc1c29bd0"
+checksum = "b805154de2e68f59874ec217ca36790dcffe500cd872c60fe509d28d0814a74d"
dependencies = [
- "elliptic-curve 0.14.0-rc.35",
+ "elliptic-curve",
"hash2curve",
"rand_core 0.10.1",
"shake",
@@ -1195,36 +1177,19 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
-dependencies = [
- "base16ct 0.2.0",
- "crypto-bigint 0.5.5",
- "ff 0.13.1",
- "generic-array",
- "group 0.13.0",
- "rand_core 0.6.4",
- "sec1 0.7.3",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "elliptic-curve"
-version = "0.14.0-rc.35"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51c58d86e2f3cebbf2dfd94c4bf049585c7def71058ba506bfdafcb57652a34b"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
- "base16ct 1.0.0",
- "crypto-bigint 0.7.5",
+ "base16ct",
+ "crypto-bigint",
"crypto-common 0.2.2",
- "ff 0.14.0",
- "group 0.14.0",
+ "ff",
+ "group",
"hybrid-array",
"pkcs8 0.11.0",
"rand_core 0.10.1",
- "sec1 0.8.1",
+ "sec1",
"subtle",
"zeroize",
]
@@ -1296,16 +1261,6 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "ff"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
-dependencies = [
- "rand_core 0.6.4",
- "subtle",
-]
-
-[[package]]
-name = "ff"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
@@ -1552,7 +1507,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -1639,34 +1593,23 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
-dependencies = [
- "ff 0.13.1",
- "rand_core 0.6.4",
- "subtle",
-]
-
-[[package]]
-name = "group"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
- "ff 0.14.0",
+ "ff",
"rand_core 0.10.1",
"subtle",
]
[[package]]
name = "hash2curve"
-version = "0.14.0-rc.12"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e5e38a1358dfed60ae56c6d62b2d1466853d162d9a518da0673e3670d95fd10"
+checksum = "1eaf40612d7d854743e7189228a6d528f0f6e8502cf6a0cb831d28a218b7f3f6"
dependencies = [
"digest 0.11.3",
- "elliptic-curve 0.14.0-rc.35",
+ "elliptic-curve",
]
[[package]]
@@ -1832,9 +1775,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hybrid-array"
-version = "0.4.12"
+version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
dependencies = [
"subtle",
"typenum",
@@ -2168,12 +2111,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
- "elliptic-curve 0.13.8",
+ "cpubits",
+ "elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -2915,6 +2860,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4260,24 +4230,11 @@ dependencies = [
[[package]]
name = "sec1"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
-dependencies = [
- "base16ct 0.2.0",
- "der 0.7.10",
- "generic-array",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "sec1"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
- "base16ct 1.0.0",
+ "base16ct",
"ctutils",
"der 0.8.2",
"hybrid-array",
@@ -6087,6 +6044,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/crates/identity/Cargo.toml b/crates/identity/Cargo.toml
@@ -37,7 +37,7 @@ std = ["thiserror/std"]
serde = ["dep:serde"]
[dependencies]
-k256 = { version = "0.13", default-features = false, features = ["arithmetic"] }
+k256 = { version = "0.14", default-features = false, features = ["arithmetic"] }
serde = { workspace = true, optional = true }
thiserror = { version = "2", default-features = false }
diff --git a/crates/identity/tests/package_boundary.rs b/crates/identity/tests/package_boundary.rs
@@ -26,7 +26,7 @@ fn manifest_has_exact_features_and_dependencies() {
assert!(MANIFEST.contains("std = [\"thiserror/std\"]"));
assert!(MANIFEST.contains("serde = [\"dep:serde\"]"));
assert!(MANIFEST.contains(
- "k256 = { version = \"0.13\", default-features = false, features = [\"arithmetic\"] }"
+ "k256 = { version = \"0.14\", default-features = false, features = [\"arithmetic\"] }"
));
assert!(MANIFEST.contains("serde = { workspace = true, optional = true }"));
assert!(MANIFEST.contains("thiserror = { version = \"2\", default-features = false }"));
diff --git a/crates/identity/tests/public_identifiers.rs b/crates/identity/tests/public_identifiers.rs
@@ -55,6 +55,40 @@ fn public_key_rejects_noncanonical_lengths_characters_and_points() {
}
#[test]
+fn public_identifiers_enforce_secp256k1_field_and_point_boundaries() {
+ // The standard generator and x=1 lift to curve points. Zero does not;
+ // the field modulus and larger encodings are not field elements.
+ for encoded in [
+ "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
+ "0000000000000000000000000000000000000000000000000000000000000001",
+ ] {
+ assert_eq!(PublicKey::from_hex(encoded).unwrap().to_hex(), encoded);
+ assert_eq!(IdentityId::from_hex(encoded).unwrap().to_hex(), encoded);
+ assert_eq!(AccountId::from_hex(encoded).unwrap().to_hex(), encoded);
+ }
+
+ for encoded in [
+ "0000000000000000000000000000000000000000000000000000000000000000",
+ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
+ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
+ "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ ] {
+ assert!(matches!(
+ PublicKey::from_hex(encoded),
+ Err(Error::InvalidPublicKeyBytes)
+ ));
+ assert!(matches!(
+ IdentityId::from_hex(encoded),
+ Err(Error::InvalidPublicKeyBytes)
+ ));
+ assert!(matches!(
+ AccountId::from_hex(encoded),
+ Err(Error::InvalidPublicKeyBytes)
+ ));
+ }
+}
+
+#[test]
fn identity_and_account_identifiers_preserve_semantics_and_ordering() {
let alice_key = PublicKey::from_hex(ALICE_PUBLIC_KEY).unwrap();
let bob_key = PublicKey::from_hex(BOB_PUBLIC_KEY).unwrap();
diff --git a/crates/radroots_browser/tests/browser/Cargo.lock b/crates/radroots_browser/tests/browser/Cargo.lock
@@ -8,7 +8,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"generic-array",
]
@@ -74,9 +74,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "base64"
@@ -266,16 +266,28 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"inout",
"zeroize",
]
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -288,12 +300,15 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
- "rand_core 0.6.4",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
+ "rand_core 0.10.1",
"subtle",
"zeroize",
]
@@ -310,6 +325,26 @@ dependencies = [
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core 0.10.1",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "data-encoding"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -357,9 +392,9 @@ dependencies = [
[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -372,7 +407,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -395,16 +430,17 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
- "rand_core 0.6.4",
+ "hybrid-array",
+ "rand_core 0.10.1",
"sec1",
"subtle",
"zeroize",
@@ -430,11 +466,11 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -555,7 +591,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -613,12 +648,12 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -712,6 +747,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -887,12 +933,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -1144,6 +1192,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1620,13 +1693,14 @@ dependencies = [
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -2052,7 +2126,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -2443,6 +2517,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/crates/radroots_ffi/tests/native/Cargo.lock b/crates/radroots_ffi/tests/native/Cargo.lock
@@ -8,7 +8,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"generic-array",
]
@@ -102,9 +102,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "base64"
@@ -300,12 +300,18 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"inout",
"zeroize",
]
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "concurrent-queue"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -316,9 +322,15 @@ dependencies = [
[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -361,12 +373,15 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
- "rand_core 0.6.4",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
+ "rand_core 0.10.1",
"subtle",
"zeroize",
]
@@ -383,6 +398,26 @@ dependencies = [
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core 0.10.1",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "data-encoding"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -430,9 +465,9 @@ dependencies = [
[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -445,7 +480,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -477,16 +512,17 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
- "rand_core 0.6.4",
+ "hybrid-array",
+ "rand_core 0.10.1",
"sec1",
"subtle",
"zeroize",
@@ -539,11 +575,11 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -711,7 +747,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -769,12 +804,12 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -882,6 +917,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1057,12 +1103,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -1375,6 +1423,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1924,13 +1997,14 @@ dependencies = [
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -2635,7 +2709,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -3071,6 +3145,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/crates/simplex_smp_crypto/tests/rfc7748_x448.rs b/crates/simplex_smp_crypto/tests/rfc7748_x448.rs
@@ -0,0 +1,51 @@
+use radroots_simplex_smp_crypto::official_ratchet::derive_official_x448_shared_secret;
+
+fn decode_56(encoded: &str) -> [u8; 56] {
+ assert_eq!(encoded.len(), 112);
+ core::array::from_fn(|index| {
+ u8::from_str_radix(&encoded[index * 2..index * 2 + 2], 16).unwrap()
+ })
+}
+
+#[test]
+fn official_x448_matches_independent_rfc7748_vectors() {
+ // Public synthetic test inputs from RFC 7748 section 5.2, not production keys.
+ // https://www.rfc-editor.org/rfc/rfc7748.html#section-5.2
+ let vectors = [
+ (
+ concat!(
+ "3d262fddf9ec8e88495266fea19a34d28882acef045104d0d1aae121",
+ "700a779c984c24f8cdd78fbff44943eba368f54b29259a4f1c600ad3"
+ ),
+ concat!(
+ "06fce640fa3487bfda5f6cf2d5263f8aad88334cbd07437f020f08f9",
+ "814dc031ddbdc38c19c6da2583fa5429db94ada18aa7a7fb4ef8a086"
+ ),
+ concat!(
+ "ce3e4ff95a60dc6697da1db1d85e6afbdf79b50a2412d7546d5f239f",
+ "e14fbaadeb445fc66a01b0779d98223961111e21766282f73dd96b6f"
+ ),
+ ),
+ (
+ concat!(
+ "203d494428b8399352665ddca42f9de8fef600908e0d461cb021f8c5",
+ "38345dd77c3e4806e25f46d3315c44e0a5b4371282dd2c8d5be3095f"
+ ),
+ concat!(
+ "0fbcc2f993cd56d3305b0b7d9e55d4c1a8fb5dbb52f8e9a1e9b6201b",
+ "165d015894e56c4d3570bee52fe205e28a78b91cdfbde71ce8d157db"
+ ),
+ concat!(
+ "884a02576239ff7a2f2f63b2db6a9ff37047ac13568e1e30fe63c4a7",
+ "ad1b3ee3a5700df34321d62077e63633c575c1c954514e99da7c179d"
+ ),
+ ),
+ ];
+
+ for (scalar, public, expected) in vectors {
+ assert_eq!(
+ derive_official_x448_shared_secret(&decode_56(scalar), &decode_56(public)).unwrap(),
+ decode_56(expected)
+ );
+ }
+}
diff --git a/crates/storage_indexeddb/tests/browser/Cargo.lock b/crates/storage_indexeddb/tests/browser/Cargo.lock
@@ -8,7 +8,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"generic-array",
]
@@ -26,9 +26,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "base64"
@@ -131,16 +131,28 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"inout",
"zeroize",
]
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -153,12 +165,15 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
- "rand_core",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
+ "rand_core 0.10.1",
"subtle",
"zeroize",
]
@@ -170,15 +185,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
dependencies = [
"generic-array",
- "rand_core",
+ "rand_core 0.6.4",
"typenum",
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core 0.10.1",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -191,7 +226,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.7",
]
[[package]]
@@ -207,16 +242,17 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
- "rand_core",
+ "hybrid-array",
+ "rand_core 0.10.1",
"sec1",
"subtle",
"zeroize",
@@ -224,11 +260,11 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
- "rand_core",
+ "rand_core 0.10.1",
"subtle",
]
@@ -343,7 +379,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -361,12 +396,12 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
- "rand_core",
+ "rand_core 0.10.1",
"subtle",
]
@@ -386,6 +421,17 @@ dependencies = [
]
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -543,12 +589,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -650,6 +698,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -690,6 +763,7 @@ dependencies = [
name = "radroots_domain"
version = "0.1.0-alpha"
dependencies = [
+ "jiff-tzdb",
"radroots_identity",
"serde",
"zeroize",
@@ -850,7 +924,7 @@ version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
dependencies = [
- "rand_core",
+ "rand_core 0.6.4",
]
[[package]]
@@ -863,6 +937,12 @@ dependencies = [
]
[[package]]
+name = "rand_core"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
+
+[[package]]
name = "rust_decimal"
version = "1.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -881,13 +961,14 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -1093,7 +1174,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -1209,6 +1290,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/crates/sync/tests/fixtures/browser_host/Cargo.lock b/crates/sync/tests/fixtures/browser_host/Cargo.lock
@@ -16,9 +16,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "block-buffer"
@@ -52,10 +52,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -68,11 +80,14 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
"rand_core",
"subtle",
"zeroize",
@@ -89,10 +104,30 @@ dependencies = [
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -105,7 +140,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.7",
]
[[package]]
@@ -121,15 +156,16 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
+ "hybrid-array",
"rand_core",
"sec1",
"subtle",
@@ -138,9 +174,9 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
"rand_core",
"subtle",
@@ -257,14 +293,13 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
"rand_core",
@@ -278,6 +313,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -395,12 +441,14 @@ checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e"
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -464,6 +512,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.107"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -514,6 +587,16 @@ dependencies = [
]
[[package]]
+name = "radroots_domain"
+version = "0.1.0-alpha"
+dependencies = [
+ "jiff-tzdb",
+ "radroots_identity",
+ "serde",
+ "zeroize",
+]
+
+[[package]]
name = "radroots_event"
version = "0.1.0-alpha"
dependencies = [
@@ -559,7 +642,11 @@ dependencies = [
name = "radroots_protocol"
version = "0.1.0-alpha"
dependencies = [
+ "radroots_domain",
+ "radroots_identity",
"serde",
+ "sha2",
+ "zeroize",
]
[[package]]
@@ -567,6 +654,7 @@ name = "radroots_signing"
version = "0.1.0-alpha"
dependencies = [
"hex",
+ "radroots_domain",
"radroots_event",
"radroots_event_codec",
"radroots_identity",
@@ -579,12 +667,14 @@ dependencies = [
name = "radroots_storage"
version = "0.1.0-alpha"
dependencies = [
+ "radroots_domain",
"radroots_event",
"radroots_event_codec",
"radroots_protocol",
"radroots_trade",
"radroots_transport",
"sha2",
+ "zeroize",
]
[[package]]
@@ -622,9 +712,9 @@ dependencies = [
[[package]]
name = "rand_core"
-version = "0.6.4"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
[[package]]
name = "rust_decimal"
@@ -646,13 +736,14 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -899,6 +990,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/crates/transport_nostr_browser/tests/browser/Cargo.lock b/crates/transport_nostr_browser/tests/browser/Cargo.lock
@@ -8,7 +8,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"generic-array",
]
@@ -74,9 +74,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "base64"
@@ -266,16 +266,28 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"inout",
"zeroize",
]
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -288,12 +300,15 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
- "rand_core 0.6.4",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
+ "rand_core 0.10.1",
"subtle",
"zeroize",
]
@@ -310,6 +325,26 @@ dependencies = [
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core 0.10.1",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "data-encoding"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -357,9 +392,9 @@ dependencies = [
[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -372,7 +407,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -395,16 +430,17 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
- "rand_core 0.6.4",
+ "hybrid-array",
+ "rand_core 0.10.1",
"sec1",
"subtle",
"zeroize",
@@ -430,11 +466,11 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -555,7 +591,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -613,12 +648,12 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
- "rand_core 0.6.4",
+ "rand_core 0.10.1",
"subtle",
]
@@ -712,6 +747,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -887,12 +933,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -1144,6 +1192,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1486,13 +1559,14 @@ dependencies = [
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -1918,7 +1992,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.7",
"subtle",
]
@@ -2309,6 +2383,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/fuzz/event_codec/Cargo.lock b/fuzz/event_codec/Cargo.lock
@@ -8,7 +8,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.6",
"generic-array",
]
@@ -32,9 +32,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base16ct"
-version = "0.2.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6"
[[package]]
name = "base64"
@@ -183,16 +183,28 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.6",
"inout",
"zeroize",
]
[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
+[[package]]
name = "const-oid"
-version = "0.9.6"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "cpubits"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
[[package]]
name = "cpufeatures"
@@ -205,12 +217,15 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.5.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+checksum = "6bb08299a6046833a879ace115697f12fd2bd6c8d3e93c909ffc9e0738e7cae0"
dependencies = [
- "generic-array",
- "rand_core",
+ "cpubits",
+ "ctutils",
+ "hybrid-array",
+ "num-traits",
+ "rand_core 0.10.1",
"subtle",
"zeroize",
]
@@ -222,15 +237,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
"generic-array",
- "rand_core",
+ "rand_core 0.6.4",
"typenum",
]
[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+ "rand_core 0.10.1",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+dependencies = [
+ "cmov",
+ "subtle",
+]
+
+[[package]]
name = "der"
-version = "0.7.10"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
+checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a"
dependencies = [
"const-oid",
"zeroize",
@@ -243,7 +278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
- "crypto-common",
+ "crypto-common 0.1.6",
"subtle",
]
@@ -260,16 +295,17 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.13.8"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65"
dependencies = [
"base16ct",
"crypto-bigint",
+ "crypto-common 0.2.2",
"ff",
- "generic-array",
"group",
- "rand_core",
+ "hybrid-array",
+ "rand_core 0.10.1",
"sec1",
"subtle",
"zeroize",
@@ -277,11 +313,11 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
+checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f"
dependencies = [
- "rand_core",
+ "rand_core 0.10.1",
"subtle",
]
@@ -332,7 +368,6 @@ checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
dependencies = [
"typenum",
"version_check",
- "zeroize",
]
[[package]]
@@ -361,12 +396,12 @@ dependencies = [
[[package]]
name = "group"
-version = "0.13.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
dependencies = [
"ff",
- "rand_core",
+ "rand_core 0.10.1",
"subtle",
]
@@ -404,6 +439,17 @@ dependencies = [
]
[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "subtle",
+ "typenum",
+ "zeroize",
+]
+
+[[package]]
name = "icu_collections"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -573,12 +619,14 @@ dependencies = [
[[package]]
name = "k256"
-version = "0.13.4"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
+checksum = "93f50113171a713f4a4231ef82eb26703607139b35dcb56241f0ceab2ae1f7d8"
dependencies = [
- "cfg-if",
+ "cpubits",
"elliptic-curve",
+ "primeorder",
+ "wnaf",
]
[[package]]
@@ -668,7 +716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
dependencies = [
"base64ct",
- "rand_core",
+ "rand_core 0.6.4",
"subtle",
]
@@ -724,6 +772,31 @@ dependencies = [
]
[[package]]
+name = "primefield"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
+dependencies = [
+ "crypto-bigint",
+ "crypto-common 0.2.2",
+ "ff",
+ "rand_core 0.10.1",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "primeorder"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
+dependencies = [
+ "elliptic-curve",
+ "primefield",
+ "wnaf",
+]
+
+[[package]]
name = "proc-macro2"
version = "1.0.107"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -767,6 +840,16 @@ dependencies = [
]
[[package]]
+name = "radroots_domain"
+version = "0.1.0-alpha"
+dependencies = [
+ "jiff-tzdb",
+ "radroots_identity",
+ "serde",
+ "zeroize",
+]
+
+[[package]]
name = "radroots_event"
version = "0.1.0-alpha"
dependencies = [
@@ -819,6 +902,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.19",
+ "zeroize",
]
[[package]]
@@ -854,7 +938,10 @@ dependencies = [
name = "radroots_protocol"
version = "0.1.0-alpha"
dependencies = [
+ "radroots_identity",
"serde",
+ "sha2",
+ "zeroize",
]
[[package]]
@@ -871,6 +958,7 @@ dependencies = [
name = "radroots_storage"
version = "0.1.0-alpha"
dependencies = [
+ "radroots_domain",
"radroots_event",
"radroots_event_codec",
"radroots_protocol",
@@ -878,6 +966,7 @@ dependencies = [
"radroots_transport",
"serde",
"sha2",
+ "zeroize",
]
[[package]]
@@ -909,7 +998,7 @@ checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a"
dependencies = [
"libc",
"rand_chacha",
- "rand_core",
+ "rand_core 0.6.4",
]
[[package]]
@@ -919,7 +1008,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
- "rand_core",
+ "rand_core 0.6.4",
]
[[package]]
@@ -932,6 +1021,12 @@ dependencies = [
]
[[package]]
+name = "rand_core"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
+
+[[package]]
name = "rust_decimal"
version = "1.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -972,13 +1067,14 @@ dependencies = [
[[package]]
name = "sec1"
-version = "0.7.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
dependencies = [
"base16ct",
+ "ctutils",
"der",
- "generic-array",
+ "hybrid-array",
"subtle",
"zeroize",
]
@@ -1224,7 +1320,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
dependencies = [
- "crypto-common",
+ "crypto-common 0.1.6",
"subtle",
]
@@ -1328,6 +1424,18 @@ dependencies = [
]
[[package]]
+name = "wnaf"
+version = "0.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa"
+dependencies = [
+ "ff",
+ "group",
+ "hybrid-array",
+ "primefield",
+]
+
+[[package]]
name = "writeable"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
@@ -40,11 +40,23 @@ version = "0.17.0"
notes = "Reviewed the complete native production modules, message/socket conversions, manifest and selected SDK WebSocket SPI, plus browser actor/stream ownership. Native errors and sink/stream polling delegate to Tokio/Tungstenite; no new unsafe Send wrapper is introduced. The Radroots adapter supplies its own DNS/address/TLS policy, exact wire-identifier admission, configured connection deadline, fixed frame bounds and metered ingress, so default proxy/SOCKS dialing is not admitted. Both native loopback suites exercise the actual composition. The new browser actor uses unbounded channels; it is not admitted as the bounded Radroots browser implementation. This focused automated native-use review does not qualify those browser queues or unrestricted default dialing."
[[audits.autocfg]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "1.5.1"
+notes = "Reviewed the existing source-review record, dependency-free manifest and num-traits build.rs call site. The build-only probe compiles a fixed total_cmp expression with the governed compiler; no runtime algorithm, randomness or key material is introduced. This same-version criterion extension inherits the recorded probing review and existing baseline exemption. It does not authorize attacker-supplied compiler snippets. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.autocfg]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "1.5.1"
notes = "Reviewed the complete production sources and the published 1.5.0 -> 1.5.1 delta. This build-only helper accepts trusted build-script snippets and compiler/wrapper/flag inputs, invokes Command without a shell, checks the output directory, writes compiler IR there and removes only its generated probe path. Version/IO/process failures remain errors; it has no runtime network parser. The release changes the wrapper test harness, not production probing. Current Rust 1.99 compilation executes the selected build dependency. This automated review assumes governed compiler/build inputs and is not an independent audit or permission to compile untrusted network text."
+[[audits.base16ct]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "1.0.0"
+notes = "Reviewed the no_std feature boundary, decoded-length and decode_inner implementations. Decoding requires even input length and a sufficiently large destination, accumulates invalid-nibble errors and returns a bounded slice. Identity uses its own exact-size public hexadecimal admission and calls k256 with bytes, not this package's text API. No key generation or entropy source is selected by that call. Constant-time descriptions remain best effort, with public input length observable. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.bech32]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -93,12 +105,48 @@ criteria = "network-parser-reviewed"
version = "0.10.2"
notes = "Reviewed manifest and feature selection, fixed-size state/seed and RNG entry points and CPU-dispatch boundaries. This optional rand software-generator dependency is absent from both selected native graphs: the SDK selects SysRng, not StdRng/ThreadRng or this package's cipher/RNG APIs. The package owns no network parser; its internal cipher constructors require trusted fixed key/nonce sizes. This automated review admits the inactive dependency in the current macOS/Linux composition only, and does not independently certify a new stream-cipher algorithm, optional RNG state serialization, architecture backend or secret lifecycle."
+[[audits.cmov]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.5.4"
+notes = "Reviewed backend selection and the aarch64 CSEL, x86 CMOV and portable mask-selection implementations. Native inline assembly uses register operands with nomem/nostack; the portable backend explicitly documents compiler-dependent branch limitations. This supports fixed-width selection in the selected public-key parser. It is not proof of compiler output, a universal side-channel guarantee, or qualification of secret operations on every architecture. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.const-oid]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.10.2"
+notes = "Reviewed the no_std/deny-unsafe boundary and bounded ObjectIdentifier construction, fallible byte admission and default 39-byte storage. Its new inherited criterion belongs to the SEC1/DER type graph; identity supplies a fixed 33-byte compressed point and never parses an OID or private-key document. No randomness or secret owner is introduced. General ASN.1/BER admission is outside this public-key use review. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.cpubits]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.1.1"
+notes = "Reviewed the macro selector and target overrides. It chooses fixed 32/64-bit arithmetic backends at compile time, including the explicit wasm32 promotion to 64-bit arithmetic; no runtime feature input, entropy or key material is involved. Governed builds do not supply a cpubits override. Native and wasm32 identity checks exercise the selected configurations. This does not qualify unsupported 16-bit or arbitrary overridden configurations. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.cpufeatures]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
delta = "0.2.17 -> 0.3.0"
notes = "Reviewed the complete production release delta and manifest: trusted CPU detection tokens gain initialization helpers; Apple sysctl reads retain fixed-size outputs and null write arguments; x86 adds CPUID leaf 7 subleaf 1 feature bits; LoongArch feature detection combines CPUCFG and OS capability bits. No network text, collection lengths, parser or writable system setting is introduced. The 0.3 dependency belongs to an optional software RNG edge absent from the current native feature graphs. This automated delta review inherits the existing 0.2.17 exemption and does not qualify cryptographic algorithms or execute the changed optional architecture paths."
+[[audits.crypto-bigint]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.7.6"
+notes = "Reviewed the selected fixed-width comparison, limb subtraction/word primitives, fixed safegcd inversion and its constant-time versus explicitly variable-time entry points, plus the 0.7.6 correction scope. Comparison scans the public limb count; subtraction delegates to ctutils borrow primitives; fixed inversion runs a precision-derived iteration count and returns invertibility through CtOption. The release removes the affected 0.5.5/0.7.5 selections identified by RUSTSEC-2026-0387. Identity admits public points only; retained X448 remains behind its existing adapter and independent RFC7748 vectors. This focused use review is not a complete review of the 0.5-to-0.7 rewrite, arbitrary dynamic integers, all arithmetic methods or generated-code timing proof. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.crypto-common]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.2.2"
+notes = "Reviewed the no_std/forbid-unsafe boundary, fixed-size key/IV traits and Generate implementations. Generation requires a caller-supplied TryCryptoRng, propagates failure and only enables ambient SysRng behind getrandom. Identity's arithmetic-only parser invokes neither generation nor key/IV initialization and adds no entropy source. This same-version inherited criterion does not certify arbitrary caller-provided RNGs or optional encryption implementations. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.ctutils]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.4.5"
+notes = "Reviewed the complete 0.4.4 -> 0.4.5 Rust/manifest delta. Comparison helpers preserve bitwise predicates, borrow subtraction uses a full-width black_box barrier, and leading/trailing-zero operations use advertised native instructions or a fixed-stage fallback. Architecture workarounds are explicitly gated; addition and subtraction return Choice carry/borrow predicates. Boundary and differential regressions are present upstream. The selected identity path processes public values; no compiler-output constant-time proof or unexecuted architecture/runtime claim is made. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.defmt]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -123,18 +171,54 @@ criteria = "network-parser-reviewed"
version = "1.1.0"
notes = "Reviewed all production parsing modules: format fragments, type names, display hints, array/range integers, brace admission and argument consistency. Parsing follows UTF-8 character boundaries and reports malformed types/ranges/braces. Argument indices control vector resizing and index-plus-one arithmetic, so this parser is unsuitable for untrusted network input without separate input/index bounds. The only relevant dependency route is optional compile-time defmt macros with trusted literals, and both selected native graphs exclude it. This automated inactive-use review supplies no runtime parser/resource qualification or permission to route network strings through this API."
+[[audits.der]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.8.2"
+notes = "Reviewed the feature boundary, Reader completion and SliceReader construction, nested limits, checked cursor advancement and failed-state handling. These bounds reject incomplete/trailing input rather than returning partial documents. Identity passes SEC1 point bytes and invokes no DER/private-key decoder; this same-version dependency criterion is scoped to that inactive decoding surface in the identity composition. It does not qualify arbitrary recursive documents, BER mode, encrypted keys or all workspace consumers. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.ed448-goldilocks]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "safe-to-deploy"
+version = "0.14.0-pre.15"
+notes = "Reviewed the complete pre.13 -> pre.15 Rust/manifest delta and the selected Montgomery ladder entry. The compatibility update explicitly preserves Ed448 little-endian field encoding and adapts batch normalization to in-place zero-skipping inversion. Montgomery multiplication retains its fixed 448-step conditional-swap ladder. Radroots selects X448 through the existing adapter; the independent RFC7748 section 5.2 vectors and retained Simplex cases pass. Unused Decaf encoding, Edwards signing and Montgomery-to-Edwards conversion are not qualified by this focused update review; the latter remains an upstream todo outside the admitted path. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.elliptic-curve]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.1"
+notes = "Reviewed the complete rc.35 -> 0.14.1 delta, checked public-key SEC1 admission and curve byte-order helpers. PublicKey construction decodes the point and rejects the identity; the selected compressed representation has a fixed size. The stable API uses explicit curve endianness rather than the former encoding trait, and distinguishes variable-time arithmetic entry points. Identity enables arithmetic/SEC1 only and invokes no secret generation, signing or PKCS8 decoder. This is a focused selected-use review, not blanket certification of every optional algorithm or secret lifecycle. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.faster-hex]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "0.10.1"
notes = "Reviewed all production encoder, decoder, dispatch, error, serde and build-probe source and the actual Nostr fixed-array call sites. CPU dispatch checks x86 processor/OS state or aarch64 NEON support; vector reads and writes require complete source and destination chunks, with scalar tails. Encoding returns only its initialized ASCII prefix. Checked decoding rejects odd/nonhex input but permits a longer even source than the destination: it is not an exact-identifier validator. The bounded native adapter therefore checks canonical exact-length EVENT and OK identifiers before upstream normalization; real socket regressions retain the previously observed failures. Allocating helpers assume caller-sized inputs, and the admitted messages retain the adapter's frame/ingress limits. This automated native-use review does not claim general constant-time behavior, unrestricted allocation safety, optional embedded logging or browser qualification."
+[[audits.ff]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.0"
+notes = "Reviewed the no_std/forbid-unsafe feature boundary and field trait definitions, random generation/error propagation, CtOption inversion/square-root contracts and constant-time versus variable-time method distinctions. Concrete curve implementations own arithmetic; identity's checked parser selects the reviewed k256 field implementation and calls no random sampler. This same-version dependency review does not certify arbitrary third-party Field implementations, derive-generated fields or every exponentiation caller. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.getrandom]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "0.4.2"
notes = "Reviewed feature/backend selection, the public fill/u32/u64 and SysRng interfaces, initialization helpers and the native macOS and Linux implementations, including the Linux file fallback. macOS uses at most 256-byte getentropy chunks; Linux handles partial reads and EINTR, rejects zero/invalid progress and selects the fixed OS source rather than network-supplied paths. Initialized slice conversion follows successful complete fill. Native SDK callers request fixed-size values for ping/jitter and protocol contexts, and no packet selects a backend or buffer length. System entropy can block or fail, and the upstream UnwrapErr adapter can panic on that failure. This focused automated native-use review does not claim nonblocking entropy, panic freedom, cryptographic implementation audit or qualification of alternate Windows/UEFI/WASI/browser backends."
+[[audits.group]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.0"
+notes = "Reviewed the no_std feature boundary, group/curve/scalar traits, random-generation propagation and fixed input/output length requirement for batch normalization. The package supplies interfaces, with arithmetic delegated to concrete curve implementations. Identity's public-point parser neither samples a random group element nor invokes its scalar-multiplication/wNAF helpers. This same-version inherited criterion is limited to that composition; it does not qualify arbitrary group implementations or secret scalar algorithms. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.hash2curve]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "safe-to-deploy"
+version = "0.14.0"
+notes = "Reviewed the no_std/forbid-unsafe manifest and public module boundary plus hash_to_field's fixed-size output, compile-time u16 expansion bound and error propagation. The stable release aligns its elliptic-curve dependency with the retained X448 arithmetic graph. The Radroots X448 adapter invokes Montgomery key agreement, not hash-to-curve, OPRF or domain expansion APIs. This focused inactive-use review does not certify those optional protocol constructions or change their domain-separation contract. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.hash32]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -153,6 +237,24 @@ criteria = "network-parser-reviewed"
version = "1.3.0"
notes = "Reviewed manifest/feature boundaries, fixed/variable decoding entries, complete hex iterators and their initialized-output handling, Char representation/table conversion and the bounded buffer encoder. Fixed-array decoding checks exactly N*2 bytes before writing; invalid/odd/nonhex input returns typed errors, and decoded Vec length is published only after initialization succeeds. Unchecked ASCII conversions originate from the closed ASCII Char variants. Allocating helpers scale with caller input, so they are not standalone network size limits. The native graph supplies bounded frames and fixed-size public hash values. This focused automated source review does not qualify unbounded formatting/collection by arbitrary callers or every optional feature."
+[[audits.hybrid-array]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.4.15"
+notes = "Reviewed the complete 0.4.12 -> 0.4.15 production/manifest delta and fixed-size array feature boundary. The delta adds supported type-level sizes, including retained SNTRUP buffers, without changing arithmetic, allocation or reference-conversion bodies. Arrays remain statically sized and the existing zeroize forwarding is preserved. The newly inherited crypto criterion covers these fixed buffers in the identity composition, not every unsafe reference conversion, optional serialization implementation or arbitrary array-size implementation. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.k256]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.0"
+notes = "Reviewed the arithmetic-only manifest selection, checked SEC1/public-key route, affine decompression and the selected field parsing, normalization, fixed square-root addition chain and 5x52 multiplication/reduction. Decoding rejects noncanonical field elements, verifies the square root, chooses the encoded parity and rejects the identity through PublicKey. Identity supplies only 32 public x-coordinate bytes with a fixed even compressed prefix; no private scalar, signer, ECDSA, Schnorr, entropy acquisition or PKCS8 API is introduced. Native/no_std/wasm checks and independent valid/invalid field-boundary vectors pass. This focused review does not certify all of k256 0.14, secret scalar multiplication or every architecture backend. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.libm]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.2.16"
+notes = "Reviewed the no_std feature/module boundary and num-traits' optional libm edge. This already selected same-version floating-point helper is absent from the identity normal/build graph; the admitted crypto path uses fixed-width integer/field operations and calls no floating-point approximation. It owns neither keys nor entropy in that composition. This criterion extension is limited to that inactive edge, and does not assert constant-time floating-point math or review every libm algorithm. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.lru]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -213,12 +315,36 @@ criteria = "network-parser-reviewed"
delta = "0.45.4 -> 0.45.4@git:de3031aa99986eb29b3f34580355f9a099e4c927"
notes = "Reviewed the affected native connection driver and ownership, notification stream, persistent subscription/queued-REQ and admission changes against the registry source. Connection attempts retain identity and completion notification; stale generations cannot take current frames, queued request counters decrement on drop, and explicit disconnect revokes reconnect authority. The added with_gaps stream preserves each receiver's repeated loss and continuation instead of silently filtering it. Real Radroots socket controls cover repeated local gaps, single REQ after reconnect, configured deadlines, wire identity, explicit AUTH and retained receive limits; native source publication requires their executed results. This focused automated delta review is not an independent full-SDK audit or qualification of unused optional APIs, browser actors or diagnostic redaction."
+[[audits.num-traits]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.2.19"
+notes = "Reviewed the no_std trait/export boundary, optional std/libm selection and complete build.rs probe. The fixed-width crypto-bigint edge uses integer numeric traits with default features disabled; float helpers and arbitrary-radix text admission are not called by identity. Trait implementations delegate arithmetic to the concrete integer types and provide no entropy source or key storage. This same-version inherited criterion covers the selected integer composition, not arbitrary numeric casts, floating-point semantics or untrusted radix parsing. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.opaquerr]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "0.2.0"
notes = "Reviewed both complete production modules and the manifest. The no_std error container and declarative macros construct typed kinds and optional boxed sources; they do not decode network input, invoke processes, access files or use unsafe code. Allocating construction caches the source Display text and Debug exposes the source, so this dependency supplies neither redaction nor an independent allocation limit. The native adapter maps upstream causes into its existing typed public errors, with ingress bounded before parsing. This is automated source review for that use, not a secret-handling or unrestricted-error-formatting claim."
+[[audits.pkcs8]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.11.0"
+notes = "Reviewed the no_std/forbid-unsafe feature boundary and optional encryption, randomness and legacy DES gates. The identity arithmetic-only dependency graph excludes PKCS8; its API admits fixed SEC1 public points and no private-key document. This same-version inherited criterion covers that inactive edge only. It does not authorize legacy encryption, review arbitrary PKCS8 parsing, or qualify separately selected X448/other consumers' secret-document handling. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.primefield]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.0"
+notes = "Reviewed the no_std/forbid-unsafe exports, fixed-size Montgomery field admission and explicit endian conversion traits. Canonical bytes are copied into a fixed integer representation according to trusted field parameters; concrete arithmetic delegates to the selected crypto-bigint implementation. K256 identity decompression uses its own concrete base-field implementation and introduces no generic-field random generation. This selected-use review does not certify arbitrary field parameters, every Montgomery operation or a new secret-key protocol. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.primeorder]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.0"
+notes = "Reviewed the generic curve-parameter boundary and affine-point implementation, including checked coordinate construction, curve-equation verification, identity state and conditional selection. K256 uses its own affine/field implementation for identity decompression; its new generic arithmetic support is not a new Radroots secret-key or signer boundary. Optional precomputed tables, arbitrary curves and variable-time multiplication are outside this focused public-parser use review. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.r-efi]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -232,17 +358,35 @@ version = "0.10.1"
notes = "Reviewed the feature manifest, RNG extension interface and integer uniform sampling used by the selected SDK. Its actual features select std/alloc/sys_rng and the getrandom SysRng reexport; software StdRng/ThreadRng and their optional ChaCha generator are not selected. The SDK uses fixed ping bytes and a constant nonempty bounded reconnect-jitter range, with no network-controlled sampling range or collection allocation. Infallible wrappers can panic on OS entropy failure and invalid caller ranges; this review does not claim those are impossible. This focused automated native-use review is not a full distribution/cryptographic algorithm audit or another platform's runtime qualification."
[[audits.rand_core]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.10.1"
+notes = "Reviewed the dependency-free no_std RNG/try-RNG trait boundary, fallible-to-infallible adapters and CryptoRng marker composition. It implements no ambient entropy acquisition for the selected identity parser, which calls no generation method. Error propagation remains explicit for fallible sources. This same-version inherited criterion does not certify a caller-supplied generator, permit predictable seeds for production secrets, or qualify optional RNG algorithms elsewhere. This is automated single-owner source review, not an independent full-crate audit."
+
+[[audits.rand_core]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "0.10.1"
notes = "Reviewed the TryRng/Rng and crypto-marker trait interfaces, dereference forwarding, complete UnwrapErr adapter and integer/byte conversion helpers used by SysRng. These interfaces own no network decoder or variable-length packet queue; they forward bounded caller buffers and propagate fallible completion. The explicit UnwrapErr conversion panics on provider errors, and a crypto marker alone proves no algorithm properties. The selected native SDK supplies fixed-size arrays and trusted sampling bounds. This focused automated source review does not qualify optional block/seed generators, arbitrary provider implementations or secret generation policy."
+[[audits.sec1]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.8.1"
+notes = "Reviewed fixed-size point representation and from_bytes admission: a valid tag determines one exact length before copying into the statically sized buffer. The identity path always supplies 33 bytes with compressed-even tag; the concrete curve then checks field membership and curve validity. DER/private-key and optional serde paths are not called by identity. This same-version selected-use review does not treat SEC1 syntax alone as curve validation or certify unrelated key-document APIs. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.secp256k1]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
delta = "0.29.1 -> 0.30.0"
notes = "Reviewed the complete published Rust release delta and manifest. Fixed-array key/signature constructors reject incorrect slice lengths before FFI; recovery IDs become a closed checked enum. Schnorr signing and verification now pass an explicit message slice length through the existing C backend, and the admitted Nostr path supplies a fixed 32-byte event digest. Secret Debug output remains hidden or an explicit feature-gated fingerprint, and removed no-context parsing paths no longer panic unconditionally. The resolved secp256k1-sys 0.10.1 source is unchanged. This automated delta review inherits the existing 0.29.1 network-parser exemption and does not claim a fresh C/cryptographic algorithm audit, arbitrary-message signing policy, or another platform's runtime qualification."
+[[audits.spki]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.8.0"
+notes = "Reviewed the no_std/forbid-unsafe feature boundary, DER reexports and optional digest/PEM gates. The identity arithmetic-only graph excludes this package and never parses algorithm identifiers or SPKI documents. Its new inherited crypto criterion is limited to that inactive edge; separately selected workspace document consumers remain subject to their existing controls. This review does not certify arbitrary ASN.1 input, fingerprint algorithms or secret handling. This is automated single-owner source review, not an independent full-crate audit."
+
[[audits.syn]]
who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
@@ -350,3 +494,9 @@ who = "Codex (automated single-owner source review)"
criteria = "network-parser-reviewed"
version = "0.53.1"
notes = "Reviewed the complete Rust source and build script, package metadata and target selection. Both Rust bodies are identical to 0.52.6: an empty no_std library and a build script that emits only a package-local lib search path; there are no dependencies or network parsers. Checksum-verified packaged import archives and their actual member lists were inventoried separately. The selected macOS/Linux public graphs exclude this target. This automated review admits the inactive package for that native composition, not a binary-code audit or Windows linking/runtime qualification."
+
+[[audits.wnaf]]
+who = "Codex (automated single-owner RDP050 crypto dependency review)"
+criteria = "crypto-reviewed"
+version = "0.14.1"
+notes = "Reviewed the no_std/forbid-unsafe feature boundary and bounded-window representation constructor. Representation generation has value-dependent control flow and must not be treated as a general constant-time secret-scalar primitive. Identity only invokes checked public-point decompression, which does not use wNAF generation or scalar multiplication. The package's inherited criterion is scoped to that unused arithmetic surface in the identity composition, with no new signer or private scalar API admitted. This is automated single-owner source review, not an independent full-crate audit."