diff --git a/Cargo.lock b/Cargo.lock index 80d93e5..5840a8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -461,7 +461,7 @@ dependencies = [ "hmac", "password-hash", "proptest", - "rand 0.8.6", + "rand 0.10.1", "scrypt", "sha1", "sha2", @@ -2088,7 +2088,7 @@ dependencies = [ "bitflags", "num-traits", "rand 0.9.4", - "rand_chacha 0.9.0", + "rand_chacha", "rand_xorshift", "regex-syntax", "rusty-fork", @@ -2170,24 +2170,13 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" -[[package]] -name = "rand" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - [[package]] name = "rand" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ - "rand_chacha 0.9.0", + "rand_chacha", "rand_core 0.9.5", ] @@ -2202,16 +2191,6 @@ dependencies = [ "rand_core 0.10.1", ] -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - [[package]] name = "rand_chacha" version = "0.9.0" diff --git a/crates/bymax-auth-crypto/Cargo.toml b/crates/bymax-auth-crypto/Cargo.toml index 5da2ec9..95acd14 100644 --- a/crates/bymax-auth-crypto/Cargo.toml +++ b/crates/bymax-auth-crypto/Cargo.toml @@ -21,7 +21,7 @@ description = "Cryptographic primitives for bymax-auth: password hashing, consta hmac = "0.12" sha2 = "0.10" subtle = "2.6" -rand = "0.8" +rand = "0.10" # `getrandom` is pinned to the major that `rand_core 0.6` (pulled by `password-hash # 0.5` for salt generation) depends on, so the production (non-dev) graph carries a # single `getrandom`. (Dev-only `proptest` pulls a newer `rand`/`getrandom`; those are