mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 07:40:55 +03:00
Enabled ecdh-sha2-nistp521
This commit is contained in:
@@ -102,8 +102,8 @@ public class DefaultConfig
|
||||
new DHGexSHA1.Factory(),
|
||||
new DHGexSHA256.Factory(),
|
||||
new ECDHNistP.Factory256(),
|
||||
new ECDHNistP.Factory384());
|
||||
// TODO 521 fails sometimes with key verification errors new ECDHNistP.Factory521());
|
||||
new ECDHNistP.Factory384(),
|
||||
new ECDHNistP.Factory521());
|
||||
else
|
||||
setKeyExchangeFactories(new DHG1.Factory(), new DHGexSHA1.Factory());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user