-
Notifications
You must be signed in to change notification settings - Fork 289
Description
Version: 90f9c2d (current master)
Android: 12 (Samsung Galaxy S10+, OneUI 4.1)
Expected Behaviour:
There is an option to disable TLS support or the TLS support works out of the Box.
Observed Behaviour:
It doesn't.
Connecting with Filezilla to the plaintext socket fails with a GnuTLS-Error -15. I suspect the reason for this is that I don't have a certificate configured in swiftp, but I don't think I should have to explicitly configure one to get a basic ftp server. I don't need TLS anyway (I use the phone hotspot for connecting my digital camera, so noone has access anyway).
Fix:
Option 1: Introduce a setting to allow turning off AUTH TLS/SSL and make it return the default 502 reply, causing clients to do plaintext auth.
Option 2: Autogenerate a certificate on first startup.
Imho both should be implemented with Option 2 + TLS on being the default. But it is still a value add if TLS can be toggled off because a client might have a faulty TLS implementation but connect fine in plaintext.