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
Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR #594
Comments
I just solved this bug. |
well... getting back to a previous version (1.35 works fine as well) is not a solution ! |
I agree - this is not a solution :-) |
That is a workaround - not a solution. Can also confirm it's down completely! The priority level of this critical issue should be bumped. |
Same problem here with windows 10. Exported the .pem file to OpenSSH key with PuTTY Key Generator and it seems to work again. |
Good catch @KingAserd, with another key format this is working... |
Got the same problem with macOS. Any suggestions on that? The key is working when using the ssh command or the ForkLift sftp App. |
Convert the private key back to PEM to solve that |
Why was this closed? I am still experiencing the issue. And "convert to PEM" is not really a solution. |
I agree with @inteist, this issue isn't documented and PEM format isn't what's created by |
Pinging for a reopen here, suffering on MacOS from this |
It seems that this issue should be open to find a great solution, converting PK to PEM breaks backward compatibility with other services where PK is already registered |
Convert .ppk to .pem using PuttyGen. |
This much has already been discussed. I think that the issue now is that having to convert to PEM is undesired. Consider non-Windows users, for whom a key pair is S.O.P. and expected in that format by other tools. Making a PEM export specifically for this plugin is less than ideal. |
broken on linux. |
Not super useful input. It's "broken" until you convert to PEM, which is the whole point of this thread. @liximomo Do we need to make a new issue to get some love on this, or can you re-open it for us? OP closed it because he "solved" by rolling back versions. |
converting to pem format is not an adequate solution. Moreover it did not solve it for me. I wonder whether I did something wrong or it just doesn't work on OS X ? |
I think we're all in agreement on that.
Not enough information here for me to help you debug. But we shouldn't have to, the author should be responding to this. |
@alexfornuto, unfortunately, it looks like this plugin is dead. |
Great !! this works for me in version 1.43 |
I think this is almost certainly a bug in BoringSSL. Basically Node's This means the solution is not easy - the best thing would be for Google to fix BoringSSL, but this is Google we're talking about so let's not hold our breaths. The only other workaround I can think of is to move the SSH code from the Renderer process to the Main process, but I don't know how feasible that is for this project. For users the best workaround is to convert the key itself. |
This works for me.. |
By the way it turned out it wasn't a bug in BoringSSL - BoringSSL is just more strict about rejecting invalid keys. The real culprit was the |
@Timmmm I branched off and pulled your changes -- how do I build it to make it work with vscode as a replacement extension? |
Got it (Long-Term Workaround):Thanks to @Timmmm:
AlternatelyYou could probably just update the node_module @liximomo : This is not a fixAll the dev has to do is rebuild with the updated This is merely a workaround. Any updates from liximomo will break this workaround. That is, if that dev didn't abandon the project... (it's been 14mo) |
I've already downloaded “ssh2-streams-0.4.10-pemPatched.zip” And restart vscode [11-02 14:56:26] [error] Error: Failure |
This is still an issue. VSCode version 1.54.2 |
This bug is not fixed yet, still an issue in: Version: 1.56.2 Even with .ppm key files. I´m getting the following error when trying to upload file: [05-28 00:59:27] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' I´m using a simple sftp config as follows: { The same key works just find from another app like MobaXterm to the same local server, as shown below: FromMobaXterm: Is this SFTP extension working fine for any windows user? |
Yeah just to clarify this bug won't be fixed because the error is in the SSH library that this extension uses and the PR that fixes the bug isn't being merged. It isn't being merged because the original author is rewriting the library. It would have been nice if they could have just merged the fix since it's so trivial, but on the plus side they do at least appear to be making progress on their rewrite. So the options for VSCode-SFTP are:
There's no need to keep saying "this is still an issue" and posting logs anyway. |
Found a solution that worked for me here basically, it worked out of the batch once the OpenSSH private key was converted to PEM format. |
Issue Type: Bug
Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR
Extension version: 1.12.7
VS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:25:46.372Z)
OS version: Windows_NT x64 10.0.17763
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: