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

Support for SSH ed25519 keys #348

Closed
bbo2adwuff opened this issue May 15, 2018 · 9 comments
Closed

Support for SSH ed25519 keys #348

bbo2adwuff opened this issue May 15, 2018 · 9 comments

Comments

@bbo2adwuff
Copy link

I am trying to connect to a git server with a password protected ed25519 ssh key.

Seems that password protected keys work since #155.

But I get following error:

Clone failed:
ssh://username@server/repo.git:
invalid privatekey: SOMECHARACTERS

Is ed25519 supported?

@kb-1000
Copy link
Contributor

kb-1000 commented May 15, 2018

I don't think so: https://sourceforge.net/p/jsch/feature-requests/7/

@bbo2adwuff
Copy link
Author

Too bad. Let's see if I can get another key...
But many thanks for your quick response!

@bbo2adwuff
Copy link
Author

bbo2adwuff commented May 15, 2018

sshj supports ed25519, while jsch does not support it.

After having a quick look at the code, it seems that it might even be a possibility to switch to sshj.

@kb-1000
Copy link
Contributor

kb-1000 commented May 16, 2018

@bbo2adwuff I think a wrapper would have to be written to make JGit compatible.
But otherwise sounds great!

@bbo2adwuff
Copy link
Author

True, maybe I had a too quick look...

There is also a report for JGit: https://bugs.eclipse.org/bugs/show_bug.cgi?id=520927

@maks
Copy link
Owner

maks commented May 17, 2018

@bbo2adwuff It would be nice to support ed25519 but as pointed out, the need is to get it working with JGit.

@tutaidalal
Copy link

Is there any update for ed25519 in jSCH? In case i have to switch all the implementation to sshj then its a big effort.

@kb-1000
Copy link
Contributor

kb-1000 commented Mar 22, 2019

No, there is no update on it. If you give me a working Jsch>sshj bridge then there might be, but I'd rather use Apache sshd when JGit is updated because JGit added support for sshd.

@maks
Copy link
Owner

maks commented Jul 25, 2020

closed in favour of #545

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

No branches or pull requests

4 participants