Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-39805] - Update SSHD module to 1.8 #2641

Merged
merged 1 commit into from
Nov 27, 2016

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Nov 20, 2016

The fix disables some obsolete Ciphers as per JENKINS-39805: AES128CBC, TripleDESCBC, and BlowfishCBC

All changes: jenkinsci/sshd-plugin@sshd-1.7...sshd-1.8

@jenkinsci/code-reviewers, @chillum, @ydubreuil, @aheritier

`the fix disables some obsolete protocols as per [JENKINS-39805](https://issues.jenkins-ci.org/browse/JENKINS-39805):  AES128CBC, TripleDESCBC.Factory(), and BlowfishCBC

All changes: jenkinsci/sshd-plugin@sshd-1.7...sshd-1.8
@daniel-beck
Copy link
Member

daniel-beck commented Nov 20, 2016

👍 assuming sshd-core doesn't offer better ciphers as further alternatives.

@oleg-nenashev
Copy link
Member Author

@daniel-beck It does. Many Ciphers have been introduced since 0.8.0 we use: https://github.com/apache/mina-sshd/tree/master/sshd-core/src/main/java/org/apache/sshd/common/cipher

@oleg-nenashev
Copy link
Member Author

So the latest versions are incompatible. We could update to 0.14.0 and get several "new" ciphers: https://github.com/apache/mina-sshd/tree/sshd-0.14.0/sshd-core/src/main/java/org/apache/sshd/common/cipher . Upgrade to the latest version will be much more painful

@chillum
Copy link

chillum commented Nov 20, 2016

I would say, there are no valuable ciphers in 0.14.0. That is: I see only EC-DSA ones, they're also considered insecure and not included into latest OpenSSH. CMIIW.

That is: a modern SSH implementation should support two ciphers: AES-CTR and ChaCha-Poly. I don't see the latter in the latest mina-sshd though.

Other things we could improve with time in Jenkins SSH support however are:

  1. Support of ED25519 keys (seems to be in latest mina-sshd, but not in 0.14.0)
  2. Support of SHA2 MACs
  3. Support of curve25519-sha256 and diffie-hellman-group-exchange-sha256 key exchange algorithms

@daniel-beck daniel-beck changed the title [JENKINS-39805] - Update SSH module to 1.8 [JENKINS-39805] - Update SSHD module to 1.8 Nov 20, 2016
@oleg-nenashev
Copy link
Member Author

Yes, 0.14.0 is 2 years old. So it is definitely not a state of the art. But
upgrade to it is something we could do more or less easily.

Upgrade to mina-ssh 2.x or migration to other lib will break the core's
binary compatibility. We could do it, but it is a big chunk of
investigation work.

On Nov 20, 2016 11:28, "Vasily Korytov" [email protected] wrote:

I was wrong, it seems like the latest mina-sshd supports ED25519, but
that's not the case with 0.14.0.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2641 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC3IoO4oV3OU3a3PrzzBzPrGsAX9ERkTks5rACDUgaJpZM4K3aND
.

@oleg-nenashev
Copy link
Member Author

Merging the current PR. I hope to try updating to 0.14.0 and adding "new" Ciphers from there later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants