-
Notifications
You must be signed in to change notification settings - Fork 145
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
ECDSA support #3
Comments
Sure, provided node/iojs's crypto interface supports them. |
I need your help, i have this error when try to connect : ERROR:nw_shell.cc(335)] Error: Bad packet length I am using nw 0.12.1 and ssh2 library, this error is showed when the script try connect to ssh server |
@elbertcastaneda Your issue is unrelated to the original issue, please file a new issue here. |
@mscdex Should I be able to use ecdsa keys with ssh-agent? I've got these two keys:
that result in
|
@appsforartists No, not currently. |
@mscdex Thanks and 😢 You mentioned earlier that the blocker was a lack of support in Node's crypto library. I see references to EDSCA in crypto's |
@appsforartists The problem is that node does support ECDSA and other algorithms that might be useful for There are a number of node addons that provide various algorithm implementations, but the problem is just that: they're addons, meaning they require a compiler. One of the goals is to remain "pure js," but this topic has been discussed before. I probably wouldn't mind adding such addons as _optionalDependency_s and possibly falling back to a pure js implementation. The benefit there being that compiled addons would be faster. However, these kinds of changes wouldn't come until configurable algorithms are supported (right now the algorithms and their order are more or less hard coded). |
After further research it looks like ECDSA support has existed in node since the node v0.11.x days. I have added (working) support for it in |
Just as a note, EdDSA is now supported with this commit. Not exactly what OP was looking for, but close. |
ECDSA is different than EdDSA. ECDSA has been supported for awhile now. EdDSA will require at least node v12.x (not released as of this writing) for the time being. |
Are there any plans for ecdsa support?
The text was updated successfully, but these errors were encountered: