bolcom / libunftp

Extensible, async, cloud orientated FTP(S) server library and the core of unFTP: https://github.com/bolcom/unFTP. Follow up and talk to us on https://t.me/unftp
Apache License 2.0
182 stars 33 forks source link

Passwordless Support #424

Open JBrenesS opened 2 years ago

JBrenesS commented 2 years ago

Hi ,

I am creating an FTP server, but I want to login in with a client with an anonymous and passwordless user, therefore, I would like to know if there is a way to do that. I tried to use the Anonymous Autectication structure, but the server keeps asking to introduce a password.

Thanks @robklg

hannesdejager commented 2 years ago

@JBrenesS Hi @JBrenesS

I’m not sure if the unFTP specification / protocol actually allows passwordless logins unless you login with a client certificate. We do support passwordless login with client certificates if you use the jsonfile authenticator.

The anonymous authenticator will indeed always ask for a password but it can be just any random password

Do I understand correctly that what you are looking for is no password prompt at all?

JBrenesS commented 2 years ago

Hi @hannesdejager

Thanks for your swift response. Yeah, that's exactly what I was looking for.

hannesdejager commented 2 years ago

@JBrenesS Although this might be easily implemented on the server side, the question is if FTP clients will adhere to this, perhaps. Wil need looking into.

Mind sharing your use case?