swftp icon indicating copy to clipboard operation
swftp copied to clipboard

How to auth with Keystone?

Open robputt opened this issue 7 years ago • 3 comments

Hi,

I am using Keystone as auth mechanism for my Swift deployment, is there anyway to use tokens / keystone usernames / passwords with swftp?

Best Regards,

Rob

robputt avatar Dec 07 '17 10:12 robputt

After inspecting the code I suspect not, I could be tempted to create some new auth class to allow Keystone auth, any thoughts?

robputt avatar Dec 07 '17 11:12 robputt

I guess this project is dead, I will need to evaluate whether to fork this and add Keystone support / if its easier just to write a new wrapper using Twisted's FTP server.

robputt avatar Mar 05 '18 11:03 robputt

You'd just need to change the authenticate and after_authenticate methods in swftp/swift.py i did just that and might upstream it soon

Roxxik avatar Dec 12 '18 15:12 Roxxik