EvotecIT / Transferetto

Small PowerShell module with FTPS/SFTP functionality
MIT License
55 stars 14 forks source link

Support for TLS 1.3 #33

Closed ndinev closed 9 months ago

ndinev commented 11 months ago

I installed latest version: Install-Module -Name Transferetto

The I tried to connect to filezilla server with TLS 1.2 -> works fine Tried same script while filezilla server is configured for TLS 1.3 only -> fails

Before providing more details I am wondering if TLS 1.3 is supported by Transferetto?

FluentFtp claims support of 1.3 TLS

PrzemyslawKlys commented 11 months ago

If you click on the link it will bring you to:

They basically say to include FluentFTP GnuTLS library, which I guess needs GnuTLS installed on machine. Maybe it would be possible to include a portable version of it. Not super straightforward atm.

PrzemyslawKlys commented 11 months ago

Hrmms,

For Windows, we package the GnuTLS C library as pre-compiled DLLs within our Nuget package. It is automatically copied into your project and linked for usage by your build process.

I would need to figure out the loading of libraries.

ndinev commented 11 months ago

I will be happy to be able to use Transferetto with TLS 1.3 even if I need manually to configure something. Some instruction will be helpful

PrzemyslawKlys commented 10 months ago

Can you try Install-Module Transferetto -AllowPrerelease and see if TLS 1.3 works? I don't really have anything to test on.

ndinev commented 10 months ago

Install-Module Transferetto -AllowPrerelease Install-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease'.

ndinev commented 10 months ago

@PrzemyslawKlys You can test with free version of filezilla server - https://filezilla-project.org/download.php?platform=win64&type=server In Server config select TLS1.3 only and then try Transferetto with FTPS connection