jakeheis / Shout

SSH made easy in Swift
MIT License
357 stars 103 forks source link

Should SFTP be enabled without public key? #48

Open smallmonk opened 4 years ago

smallmonk commented 4 years ago

@jakeheis, thanks for the great work.

I noticed that currently SFTP requires public key to be available during SFTP connection if private key is in use.

Should the use case of private key provision without public key be supported? I have made change for my project to allow this.

jakeheis commented 3 years ago

Shout is a pretty simple wrapper around libssh2, so if I'm understanding you correctly then the requirement that the public key must be available during SFTP is within libssh2, not Shout. If libssh2 does support the use case you're describing above, I'm certainly open to adding that functionality to Shout!