Skip to content

Commit

Permalink
Revert "Changed default public key preference to ed25519 from ecdsa"
Browse files Browse the repository at this point in the history
This reverts commit 60fce75.
  • Loading branch information
ludup committed May 2, 2024
1 parent d51d96c commit ef732b2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ public abstract class SshContext extends ProtocolContext implements
public static final String KEX_DIFFIE_HELLMAN_ECDH_NISTP_521 = "ecdh-sha2-nistp521";

/** SSH2 DSA Public Key **/
@Deprecated
public static final String PUBLIC_KEY_SSHDSS = "ssh-dss";

/** ED25519 Public key */
Expand Down Expand Up @@ -227,8 +226,7 @@ public abstract class SshContext extends ProtocolContext implements
protected String prefCompressionSC = COMPRESSION_NONE;

protected String prefKeyExchange = KEX_DIFFIE_HELLMAN_GROUP_EXCHANGE_SHA256;

protected String prefPublicKey = PUBLIC_KEY_ED25519;
protected String prefPublicKey = PUBLIC_KEY_ECDSA_SHA2_NISPTP_256;

protected int maxChannels = 100;

Expand Down

0 comments on commit ef732b2

Please sign in to comment.