mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 09:25:04 +01:00
prepare
This commit is contained in:
parent
768a1a6633
commit
3b4efdda8b
1 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ impl ServerConnection {
|
||||||
Ok(expected)
|
Ok(expected)
|
||||||
} else {
|
} else {
|
||||||
Err(client_error!(
|
Err(client_error!(
|
||||||
"client does not supporte algorithm {expected}. supported: {list:?}",
|
"client does not support algorithm {expected}. supported: {list:?}",
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -189,7 +189,7 @@ impl ServerConnection {
|
||||||
let server_host_key_algorithm =
|
let server_host_key_algorithm =
|
||||||
require_algorithm("ssh-ed25519", kex.server_host_key_algorithms)?;
|
require_algorithm("ssh-ed25519", kex.server_host_key_algorithms)?;
|
||||||
|
|
||||||
// TODO: support aes128-ctr (aes-gcm is not supported by everyone)
|
// TODO: support aes256-gcm@openssh.com
|
||||||
let encryption_algorithm_client_to_server = require_algorithm(
|
let encryption_algorithm_client_to_server = require_algorithm(
|
||||||
"chacha20-poly1305@openssh.com",
|
"chacha20-poly1305@openssh.com",
|
||||||
kex.encryption_algorithms_client_to_server,
|
kex.encryption_algorithms_client_to_server,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue