-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFTP Backend #16
SFTP Backend #16
Conversation
This is the initial implementation of an SFTP backend for straw.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see it's possible to write an in-memory SFTP server nowadays - I remember testing this with a separate docker container with manual key authentication which was an absolute nightmare to get right. This is so much nicer!
Also the server package really should be a standalone thing, I don't know if there is one like it?
Mention sftp in the README
This reinstates the logging test wrapper for the sftp tests to make it match all of the others. This was removed while debugging something and I forgot to put it back.
Use log.Writer() for output, instead of our `debugStream` variable.
Remove comments in the sftp server code that were left in after copying from an example. The comments removed serve mostly to explain how the sftp server library code should be used, we don't need to explain that here.
This is the initial implementation of an SFTP backend for straw.