Skip to content

Commit

Permalink
fixed #983 - enable ssh-rsa when insecure algorithms are allowed
Browse files Browse the repository at this point in the history
Eugeny committed Nov 27, 2024

Unverified

The email in this signature doesn’t match the committer email.
1 parent f217b5d commit 379b1bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions warpgate-protocol-ssh/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -419,6 +419,15 @@ impl RemoteClient {
kex::EXTENSION_OPENSSH_STRICT_KEX_AS_CLIENT,
kex::EXTENSION_OPENSSH_STRICT_KEX_AS_SERVER,
]),
key: Cow::Borrowed(&[
russh::keys::key::ED25519,
russh::keys::key::ECDSA_SHA2_NISTP256,
russh::keys::key::ECDSA_SHA2_NISTP384,
russh::keys::key::ECDSA_SHA2_NISTP521,
russh::keys::key::RSA_SHA2_256,
russh::keys::key::RSA_SHA2_512,
russh::keys::key::SSH_RSA,
]),
..<_>::default()
}
} else {

0 comments on commit 379b1bc

Please sign in to comment.