Skip to content

Commit 5a2c81a

Browse files
committed
chore(deps): bump rand_core to 0.10.0-rc-4
1 parent ae02e7d commit 5a2c81a

File tree

6 files changed

+20
-19
lines changed

6 files changed

+20
-19
lines changed

Cargo.lock

Lines changed: 11 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ ssh-cipher = { path = "./ssh-cipher" }
1616
ssh-derive = { path = "./ssh-derive" }
1717
ssh-encoding = { path = "./ssh-encoding" }
1818
ssh-key = { path = "./ssh-key" }
19+
20+
crypto-primes = { git = "https://github.com/baloo/crypto-primes.git", branch = "baloo/push-zlqkpkvxqksw" }
21+
elliptic-curve = { git = "https://github.com/RustCrypto/traits.git" }
22+
rsa = { git = "https://github.com/baloo/RSA.git", branch = "baloo/push-nlmtmxmzoows" }

ssh-key/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ hmac = { version = "0.13.0-rc.3", optional = true }
3535
p256 = { version = "0.14.0-rc.2", optional = true, default-features = false, features = ["ecdsa"] }
3636
p384 = { version = "0.14.0-rc.2", optional = true, default-features = false, features = ["ecdsa"] }
3737
p521 = { version = "0.14.0-rc.2", optional = true, default-features = false, features = ["ecdsa"] }
38-
rand_core = { version = "0.10.0-rc-3", optional = true, default-features = false }
38+
rand_core = { version = "0.10.0-rc-5", optional = true, default-features = false }
3939
rsa = { version = "0.10.0-rc.12", optional = true, default-features = false, features = ["sha2"] }
4040
sec1 = { version = "0.8.0-rc.11", optional = true, default-features = false, features = ["point"] }
4141
serde = { version = "1.0.16", optional = true }
4242
sha1 = { version = "0.11.0-rc.3", optional = true, default-features = false, features = ["oid"] }
4343

4444
[dev-dependencies]
4545
hex-literal = "1"
46-
chacha20 = { version = "0.10.0-rc.6", features = ["rng"] }
46+
chacha20 = { version = "0.10.0-rc.7", features = ["rng"] }
4747

4848
[features]
4949
default = ["ecdsa", "rand_core", "std"]

ssh-key/src/certificate/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{Comment, Result, Signature, SigningKey, public};
55
use alloc::{string::String, vec::Vec};
66

77
#[cfg(feature = "rand_core")]
8-
use rand_core::CryptoRng;
8+
use rand_core::{CryptoRng, RngCore};
99

1010
#[cfg(feature = "std")]
1111
use {super::UnixTime, std::time::SystemTime};

ssh-key/src/private.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ use {
160160
use rand_core::TryCryptoRng;
161161

162162
#[cfg(feature = "rand_core")]
163-
use rand_core::CryptoRng;
163+
use rand_core::{CryptoRng, RngCore};
164164

165165
#[cfg(feature = "std")]
166166
use std::{fs::File, path::Path};

ssh-key/src/private/ed25519.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use subtle::{Choice, ConstantTimeEq};
99
use zeroize::{Zeroize, Zeroizing};
1010

1111
#[cfg(feature = "rand_core")]
12-
use rand_core::CryptoRng;
12+
use rand_core::{CryptoRng, RngCore};
1313

1414
/// Ed25519 private key.
1515
// TODO(tarcieri): use `ed25519::PrivateKey`? (doesn't exist yet)

0 commit comments

Comments
 (0)