Webdav support in KyPass v2.4

Now that KyPass have full webdav support, you could synchronize with box.com and mydrive.ch.

For box.com,
You have to enter https://<your email>:<your password>@dav.box.com/dav (be sure to replace the @ by %40 in your email)

For mydrive.ch,
You have to enter  https://<your login>:<your password>@webdav.mydrive.ch

You have another webdav configuration for known cloud provider? Don’t hesitate to add it in the comments.


Comments

41 responses to “Webdav support in KyPass v2.4”

  1. guardian_de Avatar
    guardian_de

    I have my own webdav server which doesn’t listen on the default port 443. How would I specify that?

      1. guardian_de Avatar
        guardian_de

        Sorry for asking stupid questions, but I already tried that and it didn’t. I’m using Owncloud as my WebDAV provider on a self-hosted system.

        I go to the settings and enter the URL of my server as follows: https://user:password@hostname:port/remote.php/webdav/

        Then there’s no feedback at all and I have no idea how to sync a file to that WebDAV share. When creating a new database there’s only options for iCloud and Dropbox.

        And I’m using the non-pro version by the way

        1. RedBug Avatar
          RedBug

          non-pro version is not a problem. Webdav works on all version.
          If you enter https://user:password@hostname:port/remote.php/webdav/ as URL, the kdb file have to be in the webdav folder also.
          But I don’t have tried owncloud myself…

          1. guardian_de Avatar
            guardian_de

            The problem was that I didn’t specify the webdav url of my password file, so it had to be https://user:password@hostname:port/remote.php/webdav/passwords.kdb

            But it only works over plain http on port 80. So it might be that either
            – It doesn’t work with non-default ports
            – It doesn’t work over https
            – It doesn’t work over https with a private ssl certificate

            Any help?

  2. guardian_de Avatar
    guardian_de

    From what I can tell from sniffing and analyzing the access logs the problem is that the SSL connection isn’t successful. I guess KyPass denies self-signed certs.

    1. RedBug Avatar
      RedBug

      Effectively.
      One line is missing in my download handler…
      I send the update to Apple this week.

  3. martin Avatar
    martin

    webdav sync with my personal owncloud server works.

    https://user:password@myowncloud.ch/remote.php/webdav/keepass/keepass_db_synced.kdbx

    but i’m not able to open my db (i think keyfile is not read).
    the keyfile keepass_db_synced.kdbx.key is already uploaded to the kypass app, as i synced the db with dropbox before.

    i don’t think there should be a difference syncing the db using dropbox or webdav concerning key file usage.

    any suggestions ?

  4. martin Avatar
    martin

    as my comment from 08.07.2013 is not visible anymore, i post it again:

    webdav sync with my personal owncloud server works.

    https://user:password@myowncloud.ch/remote.php/webdav/keepass/keepass_db_synced.kdbx

    but i’m not able to open my db (i think keyfile is not read).
    the keyfile keepass_db_synced.kdbx.key is already uploaded to the kypass app, as i synced the db with dropbox before.

    i don’t think there should be a difference syncing the db using dropbox or webdav concerning key file usage.

    any suggestions ?

    1. martin Avatar
      martin

      found the reason connecting to the app using the upload function:

      the webdav synced db has a string prepended, which is not visible in the app.
      therefor the key file (th_kp2_synced.kdbx.key) couldn’t match:

      KeePass Files from th_iphone
      .download
      d6d6e6f7ed8ebc0cc9be038949f3891a-th_kp2_synced.kdbx
      th_kp2_synced.kdbx.key

      uploading a keyfile with the same prepended string solves the issue:

      KeePass Files from th_iphone
      .download
      d6d6e6f7ed8ebc0cc9be038949f3891a-th_kp2_synced.kdbx
      d6d6e6f7ed8ebc0cc9be038949f3891a-th_kp2_synced.kdbx.key
      th_kp2_synced.kdbx.key

      hopefully the string will not change.

      1. RedBug Avatar
        RedBug

        Key file management will be more intuitive in the next version.

  5. Hello,

    can you please tell me how to syncronize database.kbd with a synology diskstation running DSM 4.2?

    Thanks for help!

    stefan

  6. Andrey K. Avatar
    Andrey K.

    WebDav is good. But it seems that sync with Dropbox not work correctly. When file changed in KyPass on iPhone it not upload to Dropbox.

    1. RedBug Avatar
      RedBug

      It will be fixed in new version.
      It’s a bug with the dropbox api and some iOS version: https://forums.dropbox.com/topic.php?id=102898#post-557025

  7. Synostro Avatar
    Synostro

    Since i also just bought a synology, do you have any idea when the new version will be released ?

    – Can .kdbx be created/synced ?
    – Will it support https ?
    – Can i use passwords that start and end with !@ ?

    I would love this since i use KyPass daily and it works much better then the other KeePass apps in the store.

    1. RedBug Avatar
      RedBug

      1. Yes for the synchronization. Not yet for the creation (you need to create it from your desktop)
      2. Not it this version. New version was sent to Apple for approval 2 days ago.
      3. I don’t know why you couldn’t ? What’s the problem with !@ ?

      1. Synostro Avatar
        Synostro

        Ok, great. Also great to hear https support is probably coming soon.

        I am not 100% sure that it is a problem with these characters but it could be (Couldnt get my connection to work correctly yet).

        I have a password that starts with a ! and ends with a @. But the @ is also the character that needs to be in front of the IP adress and it would seem to me that it could create a conflict with the double @@.

        http://username:!password@@111.222.333.444:5000

        Best regards

  8. Bonjour, quand aura-t-on la possibilité d’avoir un alias plutôt que le nom du fichier ?

  9. euphrat Avatar
    euphrat

    what is the kypass status with owncloud over https?
    when will be an update?
    thnx

    1. RedBug Avatar
      RedBug

      Update was sent to Apple

  10. SrLANGuy Avatar
    SrLANGuy

    I just updated my Kypass Pro to version 2.4.1, but now the “Upload From Desktop” feature is broken again. I enter the URL shown on my iPhone into the web browser on my computer and it cannot find the webpage. PLEASE FIX THIS ASAP!

    NOTE: I tried deleting the app and data from my iPhone, I re-downloaded the app from the App Store, and the feature still does NOT work.

    1. RedBug Avatar
      RedBug

      Are you in the same network as your iPhone ?
      What’s the IP you receive ?

  11. […] It wasn’t cheap, it was $4.99, but I decided to give it a try – after all I’d found a post on the developer’s site where some people were trying to do exactly as I was doing (in the […]

  12. …did anyone got it to work with the Synology webdav service?

    If yes, would be great if he/she can post the webdav string for it, i tried a lot of combinations now, but i cant get it to work…

  13. Christoph Avatar
    Christoph

    Well, webdav is not working for me at all.
    The db.kdb file ist stored in an owncloud subfolder (/Crypted), together with the keyfile db.kdb.key. The webdav URL works, as tested in my Browser (https://providersslsite.com/owncloud.myurl.com/remote.php/webdav/Crypted/)
    But after entering several, if not all combinations of the webdav URL, none of them was successful.

    Do i have to link to the folder? Or to the File? What about the keyfile? Do have to enter a specific Port? And where (https://providersslsite.com:443/owncloud.myurl.com/ vs. https://providersslsite.com/owncloud.myurl.com:443/). Or does KyPass use the usual standard ports?

    So many questions…

    regards,

    Christoph

    1. You have to link to the webdav folder.
      If port is different that 443, you have to mention it.

      Thus, https://providersslsite.com/owncloud.myurl.com/remote.php/webdav/Crypted/ have to work if you doesn’t have password on your owncloud.
      Else, you have to enter https://login:password@providersslsite.com/owncloud.myurl.com/remote.php/webdav/Crypted/

  14. When I enter username and password in the webdav connection string, will the url be parsed by kyPass prior to using it or will the URL be used as entered to request the password file?
    I am a little bit worried to enter my password in the connection url so it could be intercepted. Although ssl is used for the actual connection, the GET method call is not encrypted.
    Thx!

    1. Login/password are send in the authentification request (not in the GET method call).
      But you could a wireshark session to verify 🙂

  15. Hello,
    is webdav working in Version 2.4.2 pro ?
    I can configure the webdav URL but there is no Button to enable the Sync like in Dropbox or Google drive.
    There seems to be no sync with teh Webdav server.
    We work with an apache configured for webdav with plain http

  16. Hello,

    I host an ownCloud installation locally. Now I want to sync the kdbx-databases via webdav. But there seems to be a problem – settings are saved but nothing happens. No error-message. Here’s my connection string:
    https://[user]:[pwd]@[host]:[port]/remote.php/webdav/
    Some more infos:
    Port is: 444
    SSL is self-signed, but SSL certificate imported/installed manually on iOS
    KyPass-Version: 3.2 for iOS
    iOS 7
    thanks in advance!

    1. Is your database file directly in webdav folder or do you have another folder like (/webdav/keepass) for your database ?
      KyPass doesn’t search databases in the folders recursively but only in the first folder.

  17. Andreas Avatar
    Andreas

    Hi there,
    I’ve just bought Kypass. I’m using Seafile as my WebDAV provider on a self-hosted system with nginx and https on Port 8001. My username ist my Email address, for example: john@t-online.de.
    In my Folder john is the Database.kdbx

    With Otter Apps i got Access to my webdav under: https://hostname:8001/seafdav/
    And there is no Problem.

    I go to the settings and enter the URL of my server as follows: https://john%40t-online.de:password@hostname:port/seafdav/john/Database.kdbx

    Then there’s no feedback and no Access and I have no idea how to sync a file to that WebDAV share.

    1. RedBug Avatar
      RedBug

      For webdav, don’t use database name.
      Try with https://john%40t-online.de:password@hostname:port/seafdav/john and it will synchronize the entire folder.

      1. Andreas Avatar
        Andreas

        Thanks for your fast reply

      2. Andreas Avatar
        Andreas

        Hi RedBug,
        I type the path ‘https://john%40t-online.de:password@hostname:port/seafdav/john’ into the url-field. But nothing happend. My Database is not found.

        Is there a difference between capitals and small letters in the Foldername ?
        Is there another way to find out which Path i have to use ?

        With other Apps (Goodreader / Documents) i got webDAV-Access under: https://hostname:8001/seafdav/

        Can you help me ?

  18. Hello I am not able to get KyPass working with my WebDaV kdbx File.

    my WebDav URL is like this:

    https://12345-something.webdisk.host.com/webdav/my.kdbx

    Username: 12345-something@web.dav
    Password: +myhidenpassword#

    but when i use the URL:
    https://12345-something%40web.dav:%2Bmyhidenpassword%23@12345-something.webdisk.host.com/webdav/my.kdbx

    kypass does not download the file
    and when i add this to the wedav sync i do not get anything.
    no error message -nothing.

    pls help

    1. Special character bug ?
      I’ve to check

  19. houdini Avatar
    houdini

    Tried that with my owncloud on KyPass 3 Pro without success,
    https://user:password@hostname/remote.php/webdav/folder/database.kdb or
    https://user:password@hostname/remote.php/webdav/folder/ or
    https://user:password@hostname:port/remote.php/webdav/folder/

    Does I need to install the self-signed certificate on my iPhone? No special characters in user or password…

    1. houdini Avatar
      houdini

      I finally successed 😉 I forgot to add /owncloud/ in the path.

  20. how can I connect to a private WebDAV server?
    I have a Synology NAS and have set up a WebDAV server.

    I’ve added the address in the program. But how can I access it now?

    Is this resolved in the v3.0 better? Or not going there too?
    Buyers get a discount of 2.4 update?

    Thanks for the Support
    Bye Kai

  21. Hi
    I am using Kypass for a while, thanks great job 🙂
    I am moving from DropBox to my own cloud (WebDav). I have managed to download my kdbx from my own server using WebDav URL, that works over http and Https.
    But my Downloaded DB is now read-only. Is there any restriction on WebDav?
    Using DropBox my DB was read-write.
    Thanks for Help

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.