Skip to content
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

Support WebDAV in LAN potentially with clear-text comms #714

Open
eternal-sorrow opened this issue Aug 1, 2024 · 2 comments
Open

Support WebDAV in LAN potentially with clear-text comms #714

eternal-sorrow opened this issue Aug 1, 2024 · 2 comments

Comments

@eternal-sorrow
Copy link

I tried to work around #682 problem using WebDAV as a storage medium. I quickly setup a pluveto/flydav server on my PC, try to connect to it and get a UnknownServiceExcepton CLEARTEXT communication... I understand this as SeedVault is unable to connect to a server if it doesn't use SSL. But I don't need SSL in my local network. Could this be bypassed somehow?

@eternal-sorrow
Copy link
Author

eternal-sorrow commented Aug 1, 2024

Also, judging by #85 (comment), even if I somehow setup my local webdav server to use a self-singned certificate (using stunnel for example), then it still wouldn't work because my certificate is untrusted? Is there any way to use network for backup without setting up a real server in the internet and buying domain name for it?

@grote
Copy link
Collaborator

grote commented Aug 1, 2024

AFAIK, Android doesn't allow us to allow cleartext only for LAN. It is either per specific domain or for everything. We don't want everything and don't know your domain beforehand.

Also supporting LAN WebDAV would need to have other features like detecting the WiFi you are in, because otherwise it would produce lots of errors when it can't connect to your server. Then self-signed certificates and trusting user-supplied certificates may be the way to go. However, not sure if recent Android versions still allow you to add user CAs.

For local backups, we already support flash drives, so local LAN not a development priority at the moment.

@grote grote changed the title Webdav should allow clear text communication to a local server Support WebDAV in LAN potentially with clear-text comms Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants