Could not negotiate diffie-hellman key exchange (wodSFTP / wodSFTP.NET / wodSFTPdll)

by parthasarathi, (371 days ago)

We are getting the error message "Could not negotiate diffie-hellman key exchange" while sending the file to remote server.
We use WeOnlyDo.Client.SFTP.dll with version 3.4.3.111

Our application uses .NET Framework 4.5.1.
Downloaded the latest version for WeOnlyDo.Client.SFTP.dll with version 3.7.3.170. Found that this dll comes for different .NET versions (2.0 as well as 4.0).

When i was using the WeOnlyDo.Client.SFTP.dll for .NET 4.0, got the below error message " could not be resolved because it was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5.1"

So, i was using the WeOnlyDo.Client.SFTP.dll available in .NET 2.0

My question is will the WeOnlyDo.Client.SFTP.dll (3.7.3.170) available in .NET 2.0 support diffie-hellman key exchange algorithm?

locked

Could not negotiate diffie-hellman key exchange

by Jasmine, (371 days ago) @ parthasarathi

Hi.

In latest DLL compiled for NET 2.0 following key exchange algorithms are supported:

[inlinecode]diffie-hellman-group-exchange-sha256 diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1 diffie-hellman-group14-sha1
[/inlinecode]

For NET 4+ are available these:

[inlinecode]diffie-hellman-group-exchange-sha256 diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1 diffie-hellman-group14-sha1 ecdh-sha2-nistp256 ecdh-sha2-nistp384[/inlinecode]

We can try to recompile latest DEMO for 4.5.1 if you wish, send email to techsupport about it.

Regards,
Jasmine

locked

Could not negotiate diffie-hellman key exchange

by parthasarathi, (371 days ago) @ Jasmine
edited by unknown,

Thanks Jasmine.

I will send email to techsupport requesting for latest dll compiled for 4.5.1

In that case, I just want to check will the latest dll compiled for 4.5.1 support the below algorithms

diffie-helman-group14-sha256
diffie-helman-group16-sha512
curve25519-sha256
curve25519-sha256@libssh.org
ecdh-sha2-nistp384
ecdh-sha2-nistp521
ecdh-sha2-nistp256

Thanks.

locked