Skip to content

Commit

Permalink
Enabled ecdh-sha2-nistp521
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed Nov 3, 2015
1 parent 7973cb1 commit eece80c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ciphers::

key exchange::
`diffie-hellman-group1-sha1`, `diffie-hellman-group14-sha1`, `diffie-hellman-group-exhange-sha1`, `diffie-hellman-group-exchange-sha256`,
`ecdh-sha2-nistp256`, `ecdh-sha2-nistp384`
`ecdh-sha2-nistp256`, `ecdh-sha2-nistp384`, `ecdh-sha2-nistp521`

signatures::
`ssh-rsa`, `ssh-dss`
Expand Down Expand Up @@ -94,7 +94,7 @@ Fork away!

== Release history
SSHJ 0.14.0 (2015-??-??)::
* Added support for `ecdh-sha2-nistp256` and `ecdh-sha2-nistp384`
* Added support for `ecdh-sha2-nistp256`, `ecdh-sha2-nistp384` and `ecdh-sha2-nistp521`
* Fixed https://github.com/hierynomus/sshj/issues/167[#167]: Added support for `diffie-hellman-group-exhange-sha1` and `diffie-hellman-group-exhange-sha256` key exchange methods
* Fixed https://github.com/hierynomus/sshj/issues/212[#212]: Configure path escaping to enable shell expansion to work correctly
* Merged https://github.com/hierynomus/sshj/issues/210[#210]: RemoteFileInputStream.skip returns wrong value (Fixes https://github.com/hierynomus/sshj/issues/209[#209])
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/schmizz/sshj/DefaultConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ protected void initKeyExchangeFactories(boolean bouncyCastleRegistered) {
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());
}
Expand Down

0 comments on commit eece80c

Please sign in to comment.