Tried to implement WebDAV for backups using davfs mounts. Didn't look into duplicity's WebDAV support though, so I don't know if I'm taking the longer/wrong road.
ATM it's more a P.O.C. than anything else. Just user and password authentication, as the image shows.
It does not handle certificates (but they can be set through command line).
It's missing some validations (url, etc.)
- Thought to use a button list to call other modules showing an upload form and listing the currently uploaded server/client certificates.
- Another complementary though was to use
openssl s_client to auto-retrieve the webdav server certificate and ask the user for approval before storing it.
Did some tries (weeks ago) but failed miserably due to lack of knowledge. Couldn't call any sub-module, don't know which classes to extend/implement, methods to call or... zero nada zilch.