mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 09:25:04 +01:00
p256
This commit is contained in:
parent
1cdea4763d
commit
768a1a6633
4 changed files with 179 additions and 1 deletions
|
|
@ -175,11 +175,13 @@ impl ServerConnection {
|
|||
}
|
||||
};
|
||||
|
||||
// TODO: support ecdh-sha2-nistp256
|
||||
let kex_algorithms = AlgorithmNegotiation {
|
||||
supported: vec![(
|
||||
keys::KEX_CURVE_25519_SHA256.name,
|
||||
keys::KEX_CURVE_25519_SHA256,
|
||||
), (
|
||||
keys::KEX_ECDH_SHA2_NISTP256.name,
|
||||
keys::KEX_ECDH_SHA2_NISTP256,
|
||||
)],
|
||||
};
|
||||
let kex_algorithm = kex_algorithms.find(kex.kex_algorithms.0)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue