8000 Better compatibility with SSH clients (eg, Jenkins/BlueOcean) and add EdDSA key support by upgrading sshd by rpardini · Pull Request #1272 · gitblit-org/gitblit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Better compatibility with SSH clients (eg, Jenkins/BlueOcean) and add EdDSA key support by upgrading sshd #1272

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

Closed
wants to merge 2 commits into from

Conversation

rpardini
Copy link
@rpardini rpardini commented Jan 3, 2018

Hello! Two commits here.
First one is the minimum needed to make Gitblit work with Jenkins/BlueOcean (resolves the "MAC corrupt" exception). It upgrades sshd to 1.2.0 with no further changes.
Second one upgrades sshd to 1.6.0, and adds a dependency on eddsa, and adds code to register this provider, which in fact (tested) adds support for my new ED25519 ssh key. It also upgrades JGit to a newer point release which is supposed to fix bugs only.
I'm running two production instances of Gitblit with these patches, and finally enjoying Gitblit + Jenkins/Blueocean pipelines.

@rpardini
Copy link
Author
rpardini commented Jan 3, 2018

There's a Jenkins issue that would be resolved with this. JENKINS-45769 -- I did not dare try to fix this on Jenkins side.

@rpardini
Copy link
Author
rpardini commented Jan 3, 2018

Some proof of EdDSA support...
On the web interface:
screen shot 2018-01-03 at 16 28 55

Via SSH "keys which"...
screen shot 2018-01-03 at 16 28 30

@dbywalec
Copy link
Contributor

Though I do not use ED25519, I have merged your commits to our Gitblit server and it works. I have been missing this merge work for a long time. You made my day. Good work. Thank you.

@flaix
Copy link
Member
flaix commented Oct 20, 2021

I'm reopening this pull request since only one commit was merged and the support for eddsa is still pending.

@flaix flaix reopened this Oct 20, 2021
groovy.version : 2.4.4
bouncycastle.version : 1.52
selenium.version : 2.28.0
wikitext.version : 1.4
sshd.version: 1.0.0
mina.version: 2.0.9
sshd.version: 1.6.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache SSHD 1.6.0 is still extremely old (tagged June, 2017) and has publicly documented security issues. The current release is 2.8.0.

It may be an upgrade you want to tackle separately, but it's likely worthwhile to do so. In particular, going to SSHD 2.8 will have built-in support for rsa-sha2-256 and rsa-sha2-512 which is enabled by default. Since OpenSSH 8.8 disables ssh-rsa by default, this will save your end users a lot of hassle.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah when I sent this PR (in 2018) life was different. I tried to close this PR but failed. Good luck!

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.

5 participants
0