file move: thrussh-libsodium (d--r------) → thrussh-libsodium (d--r------)
file move: thrussh-keys (d--r------) → thrussh-keys (d--r------)
replacement in thrussh-keys/src/lib.rs at line 130
− #[error("Unable to connect to ssh-agent. The environment variable `SSH_AUTH_SOCK` \
− was set, but it points to a nonexistent file or directory.")]
+ #[error(
+ "Unable to connect to ssh-agent. The environment variable `SSH_AUTH_SOCK` \
+ was set, but it points to a nonexistent file or directory."
+ )]
replacement in thrussh-keys/src/key.rs at line 157
[6.3613]→[6.3613:3723](∅→∅) − if key_algo != b"ssh-rsa" && key_algo != b"rsa-sha2-256" && key_algo != b"rsa-sha2-512" {
+ if key_algo != b"ssh-rsa"
+ && key_algo != b"rsa-sha2-256"
+ && key_algo != b"rsa-sha2-512"
+ {
replacement in thrussh-keys/src/key.rs at line 225
[6.64152]→[6.4933:4969](∅→∅) − use sha2::{Sha256, Digest};
+ use sha2::{Digest, Sha256};
edit in thrussh-keys/src/key.rs at line 231
[6.5107]→[6.0:1](∅→∅),
[6.64234]→[6.0:1](∅→∅) replacement in thrussh-keys/src/key.rs at line 245
[6.5185]→[6.5185:5233](∅→∅),
[6.5233]→[6.428:434](∅→∅),
[6.428]→[6.428:434](∅→∅) − pub fn set_algorithm(&mut self, _: &[u8]) {
− }
+ pub fn set_algorithm(&mut self, _: &[u8]) {}
replacement in thrussh-keys/src/key.rs at line 304
[6.65879]→[6.5349:5380](∅→∅) replacement in thrussh-keys/src/format/pkcs8.rs at line 102
[6.75090]→[6.6323:6374](∅→∅),
[6.6374]→[6.75145:75183](∅→∅),
[6.75145]→[6.75145:75183](∅→∅),
[6.75203]→[6.75203:75215](∅→∅) − Ok(digest.map(|()| KeyDerivation::Pbkdf2 {
− salt,
− rounds,
− }))
+ Ok(digest.map(|()| KeyDerivation::Pbkdf2 { salt, rounds }))
edit in thrussh-keys/src/format/pkcs8.rs at line 261
[6.80875]→[6.80875:80912](∅→∅) − use yasna::models::ObjectIdentifier;
edit in thrussh-keys/src/format/pkcs8.rs at line 264
+ use yasna::models::ObjectIdentifier;
replacement in thrussh-keys/src/format/pkcs8.rs at line 376
[6.84334]→[6.84334:84420](∅→∅),
[6.84420]→[6.7244:7263](∅→∅) − KeyDerivation::Pbkdf2 {
− ref salt,
− rounds,
− } => {
+ KeyDerivation::Pbkdf2 { ref salt, rounds } => {
replacement in thrussh-keys/src/format/pkcs8.rs at line 379
[6.7436]→[6.7436:7451](∅→∅) replacement in thrussh-keys/src/format/pkcs8.rs at line 426
[6.7760]→[6.7760:7775](∅→∅) replacement in thrussh-keys/src/format/pkcs8.rs at line 433
[6.8043]→[6.8043:8058](∅→∅) replacement in thrussh-keys/src/format/pkcs8.rs at line 439
[6.85644]→[6.85644:85701](∅→∅),
[6.85732]→[6.85732:85739](∅→∅) − Pbkdf2 {
− salt: Vec<u8>,
− rounds: u64,
− },
+ Pbkdf2 { salt: Vec<u8>, rounds: u64 },
replacement in thrussh-keys/src/agent/client.rs at line 51
− Err(Error::IO(io_err)) if io_err.kind() == std::io::ErrorKind::NotFound => Err(Error::BadAuthSock),
− owise => owise
+ Err(Error::IO(io_err)) if io_err.kind() == std::io::ErrorKind::NotFound => {
+ Err(Error::BadAuthSock)
+ }
+ owise => owise,
file move: thrussh-config (d--r------) → thrussh-config (d--r------)
file move: thrussh (d--r------) → thrussh (d--r------)
replacement in thrussh/src/server/encrypted.rs at line 30
[6.231049]→[6.231049:231111](∅→∅) − pub(in crate) async fn server_read_encrypted<H: Handler>(
+ pub(crate) async fn server_read_encrypted<H: Handler>(
replacement in thrussh/src/server/encrypted.rs at line 103
− return Err(Error::Pending.into())
+ return Err(Error::Pending.into());
replacement in thrussh/src/server/encrypted.rs at line 111
edit in thrussh/src/negotiation.rs at line 21
edit in thrussh/src/negotiation.rs at line 24
[6.269273]→[6.493:512](∅→∅) edit in thrussh/src/negotiation.rs at line 97
+ #[cfg(not(feature = "openssl"))]
+ use thrussh_keys::key::ED25519;
edit in thrussh/src/negotiation.rs at line 101
[6.270994]→[6.542:609](∅→∅) − #[cfg(not(feature = "openssl"))]
− use thrussh_keys::key::{ED25519};
replacement in thrussh/src/lib.rs at line 309
− type Sha256Hash = generic_array::GenericArray<u8, <sha2::Sha256 as digest::FixedOutputDirty>::OutputSize>;
+ type Sha256Hash =
+ generic_array::GenericArray<u8, <sha2::Sha256 as digest::FixedOutputDirty>::OutputSize>;
edit in thrussh/src/kex.rs at line 20
edit in thrussh/src/kex.rs at line 24
[6.307730]→[6.995:1014](∅→∅) replacement in thrussh/src/kex.rs at line 180
[6.313028]→[6.1411:1463](∅→∅) edit in thrussh/src/client/mod.rs at line 213
replacement in thrussh/src/client/encrypted.rs at line 117
− return Err(Error::Pending.into())
+ return Err(Error::Pending.into());
file move: shell.nix (----------) → shell.nix (----------)
file move: cryptovec (d--r------) → cryptovec (d--r------)
file move: README.md (----------) → README.md (----------)
file move: LICENSE-2.0.txt (---r------) → LICENSE-2.0.txt (---r------)
file move: Cargo.toml (----------) → Cargo.toml (----------)