diff --git a/app_native/Cargo.toml b/app_native/Cargo.toml index d255175..4125ada 100644 --- a/app_native/Cargo.toml +++ b/app_native/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Ardalan Amiri Sani "] secluso-client-lib = { path = "../client_lib" } secluso-client-server-lib = { path = "../client_server_lib" } bincode = "1.3.3" -rand="0.8" +rand = "0.9.4" lazy_static = "1.5" serde_json="1.0.149" log = { version="0.4.29", features=["kv"] } diff --git a/app_native/src/lib.rs b/app_native/src/lib.rs index 5e19c55..710b55a 100644 --- a/app_native/src/lib.rs +++ b/app_native/src/lib.rs @@ -5,6 +5,7 @@ use anyhow::anyhow; use anyhow::Context; use log::{debug, error, info}; +use rand::distr::Alphanumeric; use rand::Rng; use secluso_client_lib::config::{ Heartbeat, HeartbeatRequest, HeartbeatResult, OPCODE_HEARTBEAT_REQUEST, OPCODE_HEARTBEAT_RESPONSE, @@ -79,9 +80,9 @@ impl Clients { fn get_app_name(first_time: bool, file_dir: String, filename: String) -> String { let app_name = if first_time { - let mut rng = rand::thread_rng(); + let mut rng = rand::rng(); let aname: String = (0..NUM_RANDOM_CHARS) - .map(|_| rng.sample(rand::distributions::Alphanumeric) as char) + .map(|_| rng.sample(Alphanumeric) as char) .collect(); let mut file = diff --git a/camera_hub/Cargo.lock b/camera_hub/Cargo.lock index d5b1b74..0bb4041 100644 --- a/camera_hub/Cargo.lock +++ b/camera_hub/Cargo.lock @@ -568,7 +568,7 @@ checksum = "657f625ff361906f779745d08375ae3cc9fef87a35fba5f22874cf773010daf4" dependencies = [ "hax-lib", "pastey 0.2.1", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -1470,7 +1470,7 @@ dependencies = [ "k256", "p256", "p384", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "rand_core 0.10.0", "rand_core 0.6.4", @@ -1501,7 +1501,7 @@ dependencies = [ "hex", "md-5", "memchr", - "rand 0.8.5", + "rand 0.8.6", "sha2", ] @@ -1773,7 +1773,7 @@ dependencies = [ "itertools 0.12.1", "nalgebra", "num", - "rand 0.8.5", + "rand 0.8.6", "rand_distr", "rayon", ] @@ -2136,7 +2136,7 @@ checksum = "b65f73ce79337c762eb38bbac91e4c9b9e60cf318e8501b812750c640814d45e" dependencies = [ "libcrux-curve25519", "libcrux-p256", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -2204,7 +2204,7 @@ dependencies = [ "libcrux-p256", "libcrux-sha3", "libcrux-traits", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -2229,7 +2229,7 @@ dependencies = [ "libcrux-secrets", "libcrux-sha3", "libcrux-traits", - "rand 0.9.2", + "rand 0.9.4", "tls_codec", ] @@ -2314,7 +2314,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "812e4fa89f3f5e34b47f928b22b1b78395a0d4ec23b1f583db635f128159d65f" dependencies = [ "libcrux-secrets", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -2354,7 +2354,7 @@ dependencies = [ "approx", "ndarray", "num-traits", - "rand 0.8.5", + "rand 0.8.6", "sprs", "thiserror 2.0.18", ] @@ -2616,7 +2616,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f093b3db6fd194718dcdeea6bd8c829417deae904e3fcc7732dabcd4416d25d8" dependencies = [ "ndarray", - "rand 0.8.5", + "rand 0.8.6", "rand_distr", ] @@ -2632,7 +2632,7 @@ dependencies = [ "noisy_float", "num-integer", "num-traits", - "rand 0.8.5", + "rand 0.8.6", ] [[package]] @@ -2802,7 +2802,7 @@ dependencies = [ "ed25519-dalek", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "serde", "tls_codec", ] @@ -2824,7 +2824,7 @@ dependencies = [ "libcrux-traits", "openmls_memory_storage", "openmls_traits", - "rand 0.9.2", + "rand 0.9.4", "rand_chacha 0.9.0", "tls_codec", ] @@ -2860,7 +2860,7 @@ dependencies = [ "openmls_memory_storage", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "serde", "sha2", @@ -3296,7 +3296,7 @@ dependencies = [ "bytes", "getrandom 0.3.4", "lru-slab", - "rand 0.9.2", + "rand 0.9.4", "ring", "rustc-hash", "rustls", @@ -3345,9 +3345,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -3356,9 +3356,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.5", @@ -3435,7 +3435,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", + "rand 0.8.6", ] [[package]] @@ -3474,7 +3474,7 @@ dependencies = [ "num-traits", "paste", "profiling", - "rand 0.9.2", + "rand 0.9.4", "rand_chacha 0.9.0", "simd_helpers", "thiserror 2.0.18", @@ -3620,7 +3620,7 @@ dependencies = [ "memchr", "pin-project", "pretty-hex", - "rand 0.8.5", + "rand 0.8.6", "sdp-types", "smallvec 1.15.1", "tokio", @@ -3884,7 +3884,7 @@ dependencies = [ "log", "ndarray", "openmls", - "rand 0.8.5", + "rand 0.9.4", "reqwest", "retina", "rpassword", @@ -3916,7 +3916,7 @@ dependencies = [ "openmls_rust_crypto", "openmls_traits", "qrcode", - "rand 0.8.5", + "rand 0.9.4", "reqwest", "serde", "serde_derive", @@ -3928,7 +3928,7 @@ name = "secluso-client-server-lib" version = "1.0.0" dependencies = [ "anyhow", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_json", ] diff --git a/camera_hub/Cargo.toml b/camera_hub/Cargo.toml index d6cf5cc..69f9861 100644 --- a/camera_hub/Cargo.toml +++ b/camera_hub/Cargo.toml @@ -19,7 +19,7 @@ env_logger = "0.11.9" log = { version = "0.4.29", optional = true } serde = "1.0" serde_derive = "1.0" -rand="0.8" +rand = "0.9.4" bincode = "1.2.1" secluso-client-lib = { path = "../client_lib", features = ["http_client"] } secluso-client-server-lib = { path = "../client_server_lib" } diff --git a/camera_hub/src/pairing.rs b/camera_hub/src/pairing.rs index de0ad1c..420306d 100644 --- a/camera_hub/src/pairing.rs +++ b/camera_hub/src/pairing.rs @@ -873,9 +873,9 @@ pub fn get_names( let group_path = state_dir_path.join(group_filename); let (camera_name, group_name) = if first_time { - let mut rng = rand::thread_rng(); + let mut rng = rand::rng(); let cname: String = (0..NUM_RANDOM_CHARS) - .map(|_| rng.sample(rand::distributions::Alphanumeric) as char) + .map(|_| rng.sample(rand::distr::Alphanumeric) as char) .collect(); let mut file = File::create(camera_path).expect("Could not create file"); @@ -884,7 +884,7 @@ pub fn get_names( file.sync_all().unwrap(); let gname: String = (0..NUM_RANDOM_CHARS) - .map(|_| rng.sample(rand::distributions::Alphanumeric) as char) + .map(|_| rng.sample(rand::distr::Alphanumeric) as char) .collect(); file = File::create(group_path).expect("Could not create file"); diff --git a/camera_hub/src/test_camera.rs b/camera_hub/src/test_camera.rs index aa24e3b..68f9795 100644 --- a/camera_hub/src/test_camera.rs +++ b/camera_hub/src/test_camera.rs @@ -28,8 +28,8 @@ impl Camera for TestCamera { fn record_motion_video(&self, info: &VideoInfo, _duration: u64) -> io::Result<()> { let mut file = File::create(self.video_dir.clone() + "/" + &info.filename)?; - let mut rng = rand::thread_rng(); - let data: Vec = (0..1024).map(|_| rng.gen()).collect(); + let mut rng = rand::rng(); + let data: Vec = (0..1024).map(|_| rng.random()).collect(); file.write_all(&data)?; @@ -105,4 +105,4 @@ impl Camera for TestCamera { fn get_thumbnail_dir(&self) -> String { self.thumbnail_dir.clone() } -} \ No newline at end of file +} diff --git a/client_lib/Cargo.toml b/client_lib/Cargo.toml index da250fe..bd01619 100644 --- a/client_lib/Cargo.toml +++ b/client_lib/Cargo.toml @@ -26,6 +26,6 @@ base64 = { version = "0.22.1", optional = true } base64-url = {version = "3.0.3"} anyhow = "^1.0.64" # Locked to this version due to flutter_rust_bridge usage in app serde_json = "1.0.149" -rand = "0.8" +rand = "0.9.4" qrcode = { version = "0.14.1", optional = true } image = { version = "0.25.10", optional = true } diff --git a/client_lib/src/pairing.rs b/client_lib/src/pairing.rs index b611f98..53dc7f3 100644 --- a/client_lib/src/pairing.rs +++ b/client_lib/src/pairing.rs @@ -13,8 +13,8 @@ use std::path::Path; use openmls_rust_crypto::OpenMlsRustCrypto; use openmls_traits::random::OpenMlsRand; use openmls_traits::OpenMlsProvider; -use rand::distributions::Uniform; -use rand::{thread_rng, Rng}; +use rand::distr::Uniform; +use rand::Rng; pub const NUM_SECRET_BYTES: usize = 72; pub const CAMERA_SECRET_VERSION: &str = "v1.2"; @@ -132,10 +132,10 @@ pub fn generate_random(num_chars: usize, special_characters: bool) -> String { 0123456789" }; - let mut rng = thread_rng(); + let mut rng = rand::rng(); (0..num_chars) .map(|_| { - let idx = rng.sample(Uniform::new(0, charset.len())); + let idx = rng.sample(Uniform::new(0, charset.len()).unwrap()); charset[idx] as char }) .collect() diff --git a/client_server_lib/Cargo.toml b/client_server_lib/Cargo.toml index e266707..f0d0b24 100644 --- a/client_server_lib/Cargo.toml +++ b/client_server_lib/Cargo.toml @@ -6,6 +6,6 @@ authors = ["Ardalan Amiri Sani "] [dependencies] anyhow = "^1.0.64" # Locked to this version due to flutter_rust_bridge usage in app -rand = "0.8" +rand = "0.9.4" serde = "1.0" serde_json = { version = "1.0" } diff --git a/client_server_lib/src/auth.rs b/client_server_lib/src/auth.rs index b455ffa..71997b0 100644 --- a/client_server_lib/src/auth.rs +++ b/client_server_lib/src/auth.rs @@ -3,8 +3,8 @@ //! SPDX-License-Identifier: GPL-3.0-or-later use anyhow::Context; -use rand::distributions::Uniform; -use rand::{thread_rng, Rng}; +use rand::distr::Uniform; +use rand::Rng; use std::io; pub const NUM_USERNAME_CHARS: usize = 14; @@ -77,10 +77,10 @@ pub fn generate_random(num_chars: usize, special_characters: bool) -> String { 0123456789" }; - let mut rng = thread_rng(); + let mut rng = rand::rng(); (0..num_chars) .map(|_| { - let idx = rng.sample(Uniform::new(0, charset.len())); + let idx = rng.sample(Uniform::new(0, charset.len()).unwrap()); charset[idx] as char }) .collect() diff --git a/config_tool/Cargo.lock b/config_tool/Cargo.lock index b80f1c4..c3ceeb3 100644 --- a/config_tool/Cargo.lock +++ b/config_tool/Cargo.lock @@ -70,56 +70,6 @@ dependencies = [ "equator", ] -[[package]] -name = "anstream" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" - -[[package]] -name = "anstyle-parse" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" -dependencies = [ - "windows-sys 0.61.2", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys 0.61.2", -] - [[package]] name = "anyhow" version = "1.0.102" @@ -356,12 +306,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" -[[package]] -name = "colorchoice" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" - [[package]] name = "const-oid" version = "0.9.6" @@ -376,7 +320,7 @@ checksum = "657f625ff361906f779745d08375ae3cc9fef87a35fba5f22874cf773010daf4" dependencies = [ "hax-lib", "pastey 0.2.1", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -608,29 +552,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "env_filter" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e90c2accc4b07a8456ea0debdc2e7587bdd890680d71173a15d4ae604f6eef" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "env_logger" -version = "0.11.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0621c04f2196ac3f488dd583365b9c09be011a4ab8b9f37248ffcc8f6198b56a" -dependencies = [ - "anstream", - "anstyle", - "env_filter", - "jiff", - "log", -] - [[package]] name = "equator" version = "0.4.2" @@ -973,7 +894,7 @@ dependencies = [ "k256", "p256", "p384", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "rand_core 0.10.0", "rand_core 0.6.4", @@ -1164,12 +1085,6 @@ dependencies = [ "syn", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - [[package]] name = "itertools" version = "0.14.0" @@ -1185,30 +1100,6 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" -[[package]] -name = "jiff" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a3546dc96b6d42c5f24902af9e2538e82e39ad350b0c766eb3fbf2d8f3d8359" -dependencies = [ - "jiff-static", - "log", - "portable-atomic", - "portable-atomic-util", - "serde_core", -] - -[[package]] -name = "jiff-static" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a8c8b344124222efd714b73bb41f8b5120b27a7cc1c75593a6ff768d9d05aa4" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "jobserver" version = "0.1.34" @@ -1345,7 +1236,7 @@ checksum = "b65f73ce79337c762eb38bbac91e4c9b9e60cf318e8501b812750c640814d45e" dependencies = [ "libcrux-curve25519", "libcrux-p256", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -1413,7 +1304,7 @@ dependencies = [ "libcrux-p256", "libcrux-sha3", "libcrux-traits", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -1438,7 +1329,7 @@ dependencies = [ "libcrux-secrets", "libcrux-sha3", "libcrux-traits", - "rand 0.9.2", + "rand 0.9.4", "tls_codec", ] @@ -1523,7 +1414,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "812e4fa89f3f5e34b47f928b22b1b78395a0d4ec23b1f583db635f128159d65f" dependencies = [ "libcrux-secrets", - "rand 0.9.2", + "rand 0.9.4", ] [[package]] @@ -1583,18 +1474,6 @@ dependencies = [ "simd-adler32", ] -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys 0.48.0", -] - [[package]] name = "moxcms" version = "0.8.1" @@ -1682,12 +1561,6 @@ version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - [[package]] name = "opaque-debug" version = "0.3.1" @@ -1719,7 +1592,7 @@ dependencies = [ "ed25519-dalek", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "serde", "tls_codec", ] @@ -1741,7 +1614,7 @@ dependencies = [ "libcrux-traits", "openmls_memory_storage", "openmls_traits", - "rand 0.9.2", + "rand 0.9.4", "rand_chacha 0.9.0", "tls_codec", ] @@ -1777,7 +1650,7 @@ dependencies = [ "openmls_memory_storage", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "serde", "sha2", @@ -1896,21 +1769,6 @@ dependencies = [ "universal-hash", ] -[[package]] -name = "portable-atomic" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" - -[[package]] -name = "portable-atomic-util" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "091397be61a01d4be58e7841595bd4bfedb15f1cd54977d79b8271e94ed799a3" -dependencies = [ - "portable-atomic", -] - [[package]] name = "potential_utf" version = "0.1.5" @@ -2051,9 +1909,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -2062,9 +1920,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.5", @@ -2161,7 +2019,7 @@ dependencies = [ "num-traits", "paste", "profiling", - "rand 0.9.2", + "rand 0.9.4", "rand_chacha 0.9.0", "simd_helpers", "thiserror", @@ -2285,11 +2143,8 @@ dependencies = [ "anyhow", "base64-url", "bincode", - "docopt", - "env_logger", "image", "log", - "mio", "openmls", "openmls_basic_credential", "openmls_libcrux_crypto", @@ -2297,7 +2152,7 @@ dependencies = [ "openmls_rust_crypto", "openmls_traits", "qrcode", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_derive", "serde_json", @@ -2308,7 +2163,7 @@ name = "secluso-client-server-lib" version = "1.0.0" dependencies = [ "anyhow", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_json", ] @@ -2323,7 +2178,7 @@ dependencies = [ "openmls_rust_crypto", "openmls_traits", "qrcode", - "rand 0.8.5", + "rand 0.9.4", "secluso-client-lib", "secluso-client-server-lib", "serde", @@ -2601,12 +2456,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - [[package]] name = "uuid" version = "1.23.0" @@ -2744,87 +2593,6 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.61.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" -dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "wit-bindgen" version = "0.51.0" diff --git a/config_tool/Cargo.toml b/config_tool/Cargo.toml index 609d06b..4e5b40f 100644 --- a/config_tool/Cargo.toml +++ b/config_tool/Cargo.toml @@ -10,7 +10,7 @@ serde = "1.0.228" serde_derive = "1.0.228" openmls_traits = "=0.5.0" openmls_rust_crypto = "=0.5.1" -rand = "0.8" +rand = "0.9.4" url = "2" secluso-client-server-lib = { path = "../client_server_lib" } secluso-client-lib = { path = "../client_lib", features = ["camera_secret_qrcode"] } diff --git a/deploy/src-tauri/Cargo.lock b/deploy/src-tauri/Cargo.lock index e1abcd4..a71d9ea 100644 --- a/deploy/src-tauri/Cargo.lock +++ b/deploy/src-tauri/Cargo.lock @@ -2432,7 +2432,7 @@ dependencies = [ "k256", "p256", "p384", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "rand_core 0.10.1", "rand_core 0.6.4", @@ -3715,7 +3715,7 @@ dependencies = [ "num-integer", "num-iter", "num-traits", - "rand 0.8.5", + "rand 0.8.6", "smallvec", "zeroize", ] @@ -3985,7 +3985,7 @@ dependencies = [ "ed25519-dalek", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "serde", "tls_codec", ] @@ -4043,7 +4043,7 @@ dependencies = [ "openmls_memory_storage", "openmls_traits", "p256", - "rand 0.8.5", + "rand 0.8.6", "rand_chacha 0.3.1", "serde", "sha2", @@ -4355,7 +4355,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" dependencies = [ "phf_shared 0.10.0", - "rand 0.8.5", + "rand 0.8.6", ] [[package]] @@ -4365,7 +4365,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared 0.11.3", - "rand 0.8.5", + "rand 0.8.6", ] [[package]] @@ -4870,9 +4870,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -5476,7 +5476,7 @@ dependencies = [ "openmls_rust_crypto", "openmls_traits", "qrcode", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_derive", "serde_json", @@ -5487,7 +5487,7 @@ name = "secluso-client-server-lib" version = "1.0.0" dependencies = [ "anyhow", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_json", ] diff --git a/reset/Cargo.lock b/reset/Cargo.lock index 4560477..ad52f00 100644 --- a/reset/Cargo.lock +++ b/reset/Cargo.lock @@ -115,13 +115,14 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.17" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "libc", - "wasi", + "r-efi", + "wasip2", ] [[package]] @@ -431,22 +432,27 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "rand" -version = "0.8.5" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ - "libc", "rand_chacha", "rand_core", ] [[package]] name = "rand_chacha" -version = "0.3.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", "rand_core", @@ -454,9 +460,9 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.6.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" dependencies = [ "getrandom", ] @@ -761,6 +767,15 @@ version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" +[[package]] +name = "wasip2" +version = "1.0.3+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" +dependencies = [ + "wit-bindgen", +] + [[package]] name = "wasm-bindgen" version = "0.2.117" @@ -841,6 +856,12 @@ dependencies = [ "windows-link", ] +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + [[package]] name = "writeable" version = "0.6.2" diff --git a/server/Cargo.lock b/server/Cargo.lock index 9a03fb0..daee1c2 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -20,7 +20,7 @@ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher 0.4.4", - "cpufeatures", + "cpufeatures 0.2.17", ] [[package]] @@ -31,7 +31,7 @@ checksum = "04097e08a47d9ad181c2e1f4a5fabc9ae06ce8839a333ba9a949bcb0d31fd2a3" dependencies = [ "cipher 0.5.1", "cpubits", - "cpufeatures", + "cpufeatures 0.2.17", ] [[package]] @@ -256,6 +256,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" +dependencies = [ + "hybrid-array", +] + [[package]] name = "bumpalo" version = "3.20.2" @@ -361,6 +370,12 @@ dependencies = [ "cc", ] +[[package]] +name = "cmov" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f88a43d011fc4a6876cb7344703e297c71dda42494fee094d5f7c76bf13f746" + [[package]] name = "coarsetime" version = "0.1.37" @@ -403,6 +418,12 @@ version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + [[package]] name = "constant_time_eq" version = "0.4.2" @@ -461,6 +482,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "crossbeam-utils" version = "0.8.21" @@ -514,6 +544,15 @@ dependencies = [ "cipher 0.4.4", ] +[[package]] +name = "ctutils" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +dependencies = [ + "cmov", +] + [[package]] name = "curl" version = "0.4.49" @@ -552,9 +591,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "curve25519-dalek-derive", - "digest", + "digest 0.10.7", "fiat-crypto", "rustc_version", "subtle", @@ -607,6 +646,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71fd89660b2dc699704064e59e9dba0147b903e85319429e131620d022be411b" +dependencies = [ + "const-oid 0.10.2", + "zeroize", +] + [[package]] name = "der_derive" version = "0.4.1" @@ -667,12 +716,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", + "block-buffer 0.10.4", "const-oid 0.9.6", "crypto-common 0.1.6", "subtle", ] +[[package]] +name = "digest" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c" +dependencies = [ + "block-buffer 0.12.0", + "crypto-common 0.2.1", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -697,11 +756,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ "der 0.7.10", - "digest", + "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature", - "spki", + "signature 2.2.0", + "spki 0.7.3", ] [[package]] @@ -728,8 +787,8 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "pkcs8", - "signature", + "pkcs8 0.10.2", + "signature 2.2.0", ] [[package]] @@ -770,13 +829,13 @@ checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", "crypto-bigint", - "digest", + "digest 0.10.7", "ff", "generic-array", "group", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.10.2", "rand_core 0.6.4", "sec1", "subtle", @@ -1173,7 +1232,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -1188,7 +1247,7 @@ version = "1.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec9d92d097f4749b64e8cc33d924d9f40a2d4eb91402b458014b781f5733d60f" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -1197,7 +1256,7 @@ version = "1.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "019ece39bbefc17f13f677a690328cb978dbf6790e141a3c24e66372cb38588b" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -1670,20 +1729,20 @@ dependencies = [ "p256", "p384", "pem 3.0.6", - "rand 0.8.5", + "rand 0.8.6", "rsa", "serde", "serde_json", "sha2", - "signature", + "signature 2.2.0", "simple_asn1", ] [[package]] name = "jwt-simple" -version = "0.12.14" +version = "0.12.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3991f54af4b009bb6efe01aa5a4fcce9ca52f3de7a104a3f6b6e2ad36c852c48" +checksum = "8a65458f9bc08b9a19ae93d9030d5fcf21688a976473e447446e62676a213085" dependencies = [ "anyhow", "binstring", @@ -1697,7 +1756,7 @@ dependencies = [ "k256", "p256", "p384", - "rand 0.8.5", + "rand 0.8.6", "serde", "serde_json", "superboring", @@ -1716,7 +1775,17 @@ dependencies = [ "elliptic-curve", "once_cell", "sha2", - "signature", + "signature 2.2.0", +] + +[[package]] +name = "keccak" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e24a010dd405bd7ed803e5253182815b41bf2e6a80cc3bfc066658e03a198aa" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", ] [[package]] @@ -1848,6 +1917,32 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "ml-dsa" +version = "0.1.0-rc.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5b2bb0ad6fa2b40396775bd56f51345171490fef993f46f91a876ecdbdaea55" +dependencies = [ + "const-oid 0.10.2", + "ctutils", + "hybrid-array", + "module-lattice", + "pkcs8 0.11.0-rc.11", + "rand_core 0.10.1", + "sha3", + "signature 3.0.0-rc.10", +] + +[[package]] +name = "module-lattice" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "164eb3faeaecbd14b0b2a917c1b4d0c035097a9c559b0bed85c2cdd032bc8faa" +dependencies = [ + "hybrid-array", + "num-traits", +] + [[package]] name = "multer" version = "3.1.0" @@ -1897,7 +1992,7 @@ dependencies = [ "num-integer", "num-iter", "num-traits", - "rand 0.8.5", + "rand 0.8.6", "smallvec", "zeroize", ] @@ -2155,8 +2250,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" dependencies = [ "der 0.7.10", - "pkcs8", - "spki", + "pkcs8 0.10.2", + "spki 0.7.3", ] [[package]] @@ -2166,7 +2261,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ "der 0.7.10", - "spki", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0-rc.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12922b6296c06eb741b02d7b5161e3aaa22864af38dfa025a1a3ba3f68c84577" +dependencies = [ + "der 0.8.0", + "spki 0.8.0", ] [[package]] @@ -2209,7 +2314,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "opaque-debug", "universal-hash", ] @@ -2318,7 +2423,7 @@ dependencies = [ "bytes", "getrandom 0.3.4", "lru-slab", - "rand 0.9.2", + "rand 0.9.4", "ring", "rustc-hash", "rustls", @@ -2367,9 +2472,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -2378,9 +2483,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.5", @@ -2424,6 +2529,12 @@ dependencies = [ "getrandom 0.3.4", ] +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + [[package]] name = "redox_syscall" version = "0.5.18" @@ -2570,7 +2681,7 @@ dependencies = [ "num_cpus", "parking_lot", "pin-project-lite", - "rand 0.8.5", + "rand 0.8.6", "ref-cast", "rocket_codegen", "rocket_http", @@ -2638,16 +2749,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d" dependencies = [ "const-oid 0.9.6", - "digest", + "digest 0.10.7", "num-bigint-dig", "num-integer", "num-traits", "pkcs1", - "pkcs8", + "pkcs8 0.10.2", "rand_core 0.6.4", "sha2", - "signature", - "spki", + "signature 2.2.0", + "spki 0.7.3", "subtle", "zeroize", ] @@ -2806,7 +2917,7 @@ dependencies = [ "base16ct", "der 0.7.10", "generic-array", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -2827,7 +2938,7 @@ name = "secluso-client-server-lib" version = "1.0.0" dependencies = [ "anyhow", - "rand 0.8.5", + "rand 0.9.4", "serde", "serde_json", ] @@ -2962,8 +3073,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", - "digest", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha3" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" +dependencies = [ + "digest 0.11.2", + "keccak", ] [[package]] @@ -2997,10 +3118,20 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "digest", + "digest 0.10.7", "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "3.0.0-rc.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f1880df446116126965eeec169136b2e0251dba37c6223bcc819569550edea3" +dependencies = [ + "digest 0.11.2", + "rand_core 0.10.1", +] + [[package]] name = "simple_asn1" version = "0.6.4" @@ -3072,6 +3203,16 @@ dependencies = [ "der 0.7.10", ] +[[package]] +name = "spki" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9efca8738c78ee9484207732f728b1ef517bbb1833d6fc0879ca898a522f6f" +dependencies = [ + "base64ct", + "der 0.8.0", +] + [[package]] name = "stable-pattern" version = "0.1.0" @@ -3104,16 +3245,17 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "superboring" -version = "0.1.7" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af44d8b60bc4ffb966f80d1582d579c84f559419e7abafb948d706fc6f95b3d4" +checksum = "7ecf6e616c1b95e83c2fb1fb541865b3ca885556bd6359f2d5810d60794094ec" dependencies = [ "aes-gcm", "aes-keywrap", "getrandom 0.2.17", "hmac-sha256", "hmac-sha512", - "rand 0.8.5", + "ml-dsa", + "rand 0.8.6", "rsa", ] diff --git a/update/Cargo.lock b/update/Cargo.lock index 4814768..209ab7c 100644 --- a/update/Cargo.lock +++ b/update/Cargo.lock @@ -1510,7 +1510,7 @@ dependencies = [ "num-integer", "num-iter", "num-traits", - "rand 0.8.5", + "rand 0.8.6", "smallvec", "zeroize", ] @@ -1836,7 +1836,7 @@ dependencies = [ "bytes", "getrandom 0.3.4", "lru-slab", - "rand 0.9.2", + "rand 0.9.4", "ring", "rustc-hash", "rustls", @@ -1885,9 +1885,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "rand_chacha 0.3.1", "rand_core 0.6.4", @@ -1895,9 +1895,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.5", @@ -2299,7 +2299,7 @@ dependencies = [ "p256", "p384", "p521", - "rand 0.9.2", + "rand 0.9.4", "rand_core 0.6.4", "regex", "regex-syntax",