Current news #10: Using DropBox and iKeePass

As some of you have already mentioned in the comments, you can use DopBox as a server to sync your KeePass database on your iPhone.
You must use you public folder at the moment, but you can delete your database immediately after your syncing. We are working to support HTTP authorization in the next version.

1. Copy your KeePass database to your public DropBox folder.
2. Display the DropBox URL for this file.
3. In the Server field, type in your DropBox URL without the database file name:

4. Press the “+” button and type in your database file name:

5. Press the “Open” button and type in your database password.

6. Delete the KeePass database file in your public DropBox folder.

Hints: If you are getting a error message “Database is corrupt”, then your username or your password is wrong, or a web authorization is required, which is not supported by iKeePass at the moment.
You can use the settings above to get a test database for iKeePass and check the DropBox way of syncing.

56 Responses to “Current news #10: Using DropBox and iKeePass”

  1. Morfik November 16, 2009 at 13:45 #

    Support for Keepass 2 ? any plans ?

  2. Bene November 16, 2009 at 14:12 #

    iKeePass could be compatible with the Dropbox iphone application too, it lets other applications access its files.

  3. karsten November 16, 2009 at 14:37 #

    @Morfik we are looking at KeePass Version 2, but this version is written in C# on a .Net plattform, not using C or C++. It uses some new crypto libraries. This all makes porting it to the iPhone platform not easy.

  4. Eric November 16, 2009 at 15:51 #

    I’m missing something. If you delete the database file from the public DropBox folder, what is iKeePass linking to after the deletion?

  5. karsten November 16, 2009 at 15:55 #

    @Eric: iKeePass is downloading the database to the iPhone and using only this local file.

  6. Computerede November 16, 2009 at 15:57 #

    Wann gibts das im Deutschen App Store???

  7. Paul November 16, 2009 at 16:15 #

    I’m waiting … when Ikeepass in all Apple appstore ?
    I’m working for long time with keepass on pc computer.



  8. Magnus November 16, 2009 at 16:31 #

    Sehr gute frage. Und wann gibts das im Schwedischen App Store?

  9. SomeAdmin November 16, 2009 at 17:40 #

    For a more secure solution for people with jailbroken iPhones (call it a paradox if you want, har har), can we just copy our databases to a directory and edit a plist (or other config file) to point the app at them?

    I’m about to find out one way or the other, but thought I’d ask. Encrypted or not, I’m not about to stick a password db on a publicly accessible server :/

    Kudos on finally making it into the App Store!

  10. Andrew W November 16, 2009 at 20:18 #

    PLEASE PLEASE… INCREASE THE FONT SIZE, or allow the user to select. It is ENTIRELY TOO SMALL.


    Other than that… REALLY COOL.. I’M Telling all my friends about it.

  11. Ramon November 16, 2009 at 20:33 #

    Hey Karsten,

    First of all, thank you for sticking with the iKeePass project and getting it released for those of us in North America at least. I came from a Windows Mobile phone so I was really missing having my password database with me when I got an iPhone this summer.

    There has been quite a few negative comments from ppl that have the types of glitches that are inevitable with any new release and just as many complaints from ppl that just aren’t reading all the available documentation carefully. I hope though that you are not discouraged, as it is not a bad initial release and really, the desktop app is free and the iKeePass is only 99 cents, so what is there to complain about?

    Above it says that for the next release, you are working on HTTP authentication. Since Dropbox and other similar services use HTTPS to encrypt data and credentials, will the authentication also work with HTTPS?

  12. SomeAdmin November 16, 2009 at 21:57 #

    WooHoo! Tested with dummy kdb from KeePassX and it worked fine.

    1. Copy db to iPhone
    scp MyKeepassDB.kdb mobile@
    2. Use favorite text editing method (or ‘defaults’ command/Property List Editor on OS X) to add string for db to ‘iKeePassDatabaseFiles.plist’ in the same directory on iPhone
    3. Verify ownership and permissions on the files in that directory
    chown mobile:mobile *
    chmod 755 *
    4. …There is no step 4! (well…use iKeePass is step 4)

    Thanks, can’t wait for Apple to one day approve the 1.1 update, and possibly have secure dropbox access :)
    Kudos again for having the huevos to badger Apple for as long as you did.

  13. dhyams November 17, 2009 at 03:45 #

    What I do, and it works just fine (jailbroken ipod touch), is to just figure out which directory in /var/mobile/Applications is Dropbox, and which one is iKeePass (using find . -name *Dropbox* -print helps in locating). Then, in iKeePass’s Documents dir, create a hard link to the .kdb file over in Dropbox, something like this:

    ln ../../AAA-AA-AAAA/Library/Caches/CachedFiles/Your_path_to_kdb_file/Your_kdb_file.kdb Your_kdb_file.kdb

    where you make the appropriate replacements. If you run into an “invalid URL” error in iKeePass when you go back and try to open this file, slightly modify your URL and re-save it….don’t know why I had to do that, but I did.

    Anyway, it works like a champ; this way, every time you update your database via dropbox (NOTE that the way the dropbox app does things, you have to explicitly run it and update the kdb file manually).

    Also, I’ve assumed that you’ve added the kdb file to your favorites in Dropbox.

  14. dhyams November 17, 2009 at 04:41 #


    Yes, you can copy the file into the iKeepass Documents directory, and it will show up just fine. You can use my method above for using any directory in Dropbox, or you can simply copy it in manually via Mobile Terminal or when connected to your iPhone via SSH.

    Yet another solution, which I’ve tried and it works, is to create a little script that just has a single line, using scp to directly fetch your .kdb file from a server that you have ssh access to, and stick it directly into iKeepass’s Documents directory. This way, to update, you just open mobile terminal, and type ./kdb (or whatever you named the script).

    This works as well.

  15. Robert November 17, 2009 at 08:50 #

    There is a better (more secure) way to do this:
    just use this one:
    then download it after hosting it on your own PC. Note that when you delete a file from dropbox it’s still retained for backup purposes but who knows!

  16. Sorin November 17, 2009 at 10:00 #

    Please solve the problem is non US Apple stores – we cannot buy the application even if we are not in countries with export limitations from US.

    I’m using KeePass for years and now I cannot buy iKeePass.

  17. Chris Hauber November 17, 2009 at 17:18 #

    When will KeePass be available in the Swiss-Store??
    Any idea?

  18. Michal November 18, 2009 at 14:42 #

    [quote]When will KeePass be available in the Swiss-Store??
    Any idea[/quote]
    Any response ?

  19. JHT November 18, 2009 at 17:21 #

    Pour quand dans French store ?

  20. Kugelblitz November 19, 2009 at 00:41 #

    Any chance to use a Password protected FTP Server or HTTP Folder to store the Database and keep the syncing as smooth as possible for the desktop and the iphone app?

  21. ferris209 November 19, 2009 at 03:04 #

    Thanks Karsten for the work. Like many I downloaded the initial release and was disappointing, but I am not mad about it at all. I haven’t been able to use it yet since I use KP 2.0, but using Hivemind’s tutorial, I did setup a trigger to always create a 1.0 database file, which is great. However, I refuse to move my KDB file from my private Dropbox folder, so I am anxiously awaiting the moment when I can access it using iKeepass. Like many, I was naysayer for a time when it seemed this project was dead, but it seems that things are back on track ever since the approval and you keep us posted on the details now. Keep up the good work guys, I can’t wait for the results.

  22. Jed November 19, 2009 at 11:53 #

    Using the official Dropbox iPhone app you can email temporary public links to files that aren’t in your public folder in Dropbox. So you could email yourself a temporary public link to your KeePass DB and use that in iKeePass. Seems a more elegant approach than manually copying your DB to your public folder and deleting it again as suggested in this post.

  23. tony November 20, 2009 at 23:19 #

    SomeAdmin and dhyams, thanks for the insight!!

    FYI, my dir structure on a 2G is this for the db:

  24. MP November 21, 2009 at 06:12 #

    So how u get it to work? cant u just put it somewhere on the iphone with ifile or in some Dir? is there a guide somewhere?

  25. tatoosh November 30, 2009 at 11:07 #

    No KeePass Professional file (.kdbx) support :(

  26. NikHatter December 1, 2009 at 19:26 #

    THANK YOU!!!!!!!!!!! I’m so excited that I can finally get this to work!!!!

    Thank you so much!

  27. mcjaded December 6, 2009 at 15:33 #

    I had an issue with using a key file. i use Keypass 2. before exporting a database with a key file it will have to be removed. Makes sense if you cant point at a key file.

    Thought id post this in case someone else has the issue.

    Keep up the great work Karsten. Don’t let the man (apple) get you down. I look forward to all your updates. Thank you for KeePass!!

  28. vlalra December 10, 2009 at 05:02 #

    ok, I love keepass. I had it on my blackberry and it worked great between my desktop and blackberry. I was vary disappointed when at first I thought that iPhone did not have it, but than I found it.

    I have it installed on my phone and I also have the drop box. I had keepass 2.0, but I have downgraded to 1.4 trying to get it to open on my phone. I get it all the way up to putting the password in. I use 2 lower case letters, a @ symbol and 4 numbers as my password. This is the same that I used before, I have not changed it.

    Every time I attempted to open it I get an error, Corrupted data. What am I doing wrong or what do I need to do?


  29. ADMiNZ December 11, 2009 at 11:26 #

    And I have the program crashes while opening my file. Base KeePass 1.x big and with lots of nested folders and all folders are icons. Can you make a converter. which will convert the base from the PC version of which 100% will work on iPhone?

    I beg you to answer my e-mail.

  30. Buster December 11, 2009 at 15:54 #

    I am having some trouble using DropBox to sync my KeePass DB to my iPod touch. I have tried several combinations of url, but keep getting the message “Couldn’t load database! – Possible wrong URL name”. I have tried “C:documents and settings***********my documentsmy dropboxpublic”,*******/v2%20current%20**.kdbx“, “*******/” and several other combinations of same. What do I do?

  31. Matthew Krinner December 12, 2009 at 20:46 #

    Nice contribution. Thanks.

  32. Buster December 14, 2009 at 19:45 #

    Karsten–Thanks for the app and your efforts to get it on iTunes Store.

    Robert–Thanks for the tip. I just followed the instructions (it worked, go figure) for HFS setup in “easy mode”

    mcjaded–Thanks for the tip re:exporting to *.kdb file
    You guys ROCK!

    vlalra–I am using KeePass 2.x, I just exported same as mcjaded (File->Export->KeePass kdb (1.x). It keeps the same password, but loses some of the DB formatting.

    ADMiNZ–Maybe some of these guys tips could help!

    Thank you all for your suggestions and I hope I helped those having some troubles.

  33. SyncKeePassiPhone December 15, 2009 at 17:22 #

    Here’s a better way to get your db onto the iPhone, AND seamlessly keep it in sync:

    Steps are in the description.


  34. Randy D December 25, 2009 at 19:16 #

    what is the database password?

  35. model9 January 7, 2010 at 12:51 #

    Everytime i try and open the .kdb file via my iphone after i’ve entered my password it gives me a “Datafilename is corrupted”. I’ve checked my password and that’s definitely not the problem.

    Can anyone help with this?

  36. Diablo January 8, 2010 at 01:40 #

    Bought the app on iTunes store, successfully got my database on my phone from dropbox, but when trying to open, keep getting “Database Corrupt”.

    My password is not wrong. What’s this web authorization thing? Bought this app, now how to get it to open my database?

  37. George Schnabel January 10, 2010 at 17:41 #


    I followed the the instructions from the web address you specified (“″) and everything perfect now. Thanks for your help and direction with this. Tremendous service!

    Thank you again,


  38. Sven Vandecasteele January 13, 2010 at 15:28 #

    When I then enter my password, I get this message: “Please check your filename and your access rights to the server!”, I edited the access right of the file to 777, but no luck.

    Any ideas?

    • karsten January 15, 2010 at 11:21 #

      @Sven: Do you use OSX or Windows on your desktop? Did you try it by typing your URL in your browser? You can also get in direct contact with me by email

  39. painkiller January 16, 2010 at 10:45 #

    In reply to Diablo: for example your dropbox url is select your database file and right click on it and there will be a selection and click Copy Public Link and you will see something like this numbers removed for privacy. (note the url should be exactly the same except the last 7 numbers after the letter u/
    In the Server field, type in your DropBox URL without the database file name and go to step 4

    Hope this helps, good luck

  40. painkiller January 16, 2010 at 10:49 #

    will there be a .kdbx format support please

  41. Greg February 2, 2010 at 04:16 #

    Until an update makes this process simpler, here’s my start to finish instructions for the PC (yeah, the “For Dummies” version)

    1. Jailbreak the phone

    2. Open Keepass on the PC and export the current.kdbx (version 2) file as a .kdb (version 1)

    3. Using iPhoneBrowser (or similar), navigate to “/User/Applications/{CBF45AEC-C068-444B-9424-18473F703FF8}/Documents”

    (Note that your hex directory name will be different. Expand each one until you find the folder inside. Then move up to the Documents folder )

    4. In iPhoneBrowser, right click the .kdb file and replace the existing .kdb file with the new/updated one from step 2 above

    5. Still in iPhoneBrowser, right click and save iKeepassDatabaseFiles.plist to PC.

    6. Open the .plist file on the PC and edit the value to the name of the new/updated .kdb file

    7. Now delete the file’s value.

    (Since the .kdb is not on a server, there’s no need for this value.)

    8. Save and close the .plist file.

    9. Back in iPhoneBrowser, right click and replace the .plist file on the phone with the new edited version.

    10. Open iKeepass on the phone. You should see your .kdb file listed. Tap Open…enter your password and you should be in business.

  42. Gerwin v. Nöthen February 4, 2010 at 23:09 #

    anyone has tried or checked MyKeePass ?

  43. DAvid February 5, 2010 at 01:52 #

    From the screenshots, it appears to have the same limitation as the currently available iKeePass — it does not appear to present the notes you create in KeePass. This is a deal breaker for me, as I want to use the product to store more than passwords — it becomes a repository to address lost credit cards, and other items. Without the ability to place retrievable info in the Notes section, the usefulness of the app is effectively reduced to zero.

    I’m looking forward to the ver 1.2 of iKeePass, to see if it meets the test, else I’ll be looking to other apps.

  44. Gerwin v. Nöthen February 7, 2010 at 17:58 #

    excuse my test.

  45. Phillip February 13, 2010 at 10:27 #

    I am having troubles with opening the database. When I hit open it prompts for password and then it says opening database then nothing. What am I missing? Is there a bug? Please help I have little hair left to pull

  46. Bruce February 17, 2010 at 15:56 #

    subgroups stored under the General folder – previously accessible with v1.0 – are no longer accessible with v1.1. The ‘>’ shown next to an item indicating more content is not available. These have default subgroups such as ‘Windows’, ‘eMail’,’Internet’… I created another folder and moved them there – same behavior. Help!!!!

  47. Jim February 22, 2010 at 19:20 #

    Same issue here as Philip above – with v1.2 on iPhone 3GS I enter the password, it says it’s opening the database and then nothing. I can’t get off this screen.

  48. Jim February 26, 2010 at 13:46 #

    Update to my previous comment – problem resolved.

    Following Jed’s comment above, you can use the iPhone dropbox app to generate yourself a (temporary) link to your .kdb file in its (non-public) home. I tried this method, and it worked on the first try – db opened right up once i entered the password.

    Definitely safer and simpler than copying the kdb to a public place.

  49. Jbazylak March 13, 2010 at 05:58 #

    I am trying to get my Keepass 1.17 database into my iKeepass 1.2. I have tried the steps detailed above using the public folder of dropbox to no avail. I have also tried the creation of a temporary link to a non-public folder as described by a couple posters. None of it has worked.

    I input the server fine. There are no complaints. Then I hit “+” to add the file name. I input the file name (I make sure to get all the capitalizations right, but still nothing.

    It doesn’t seem that I’m the only person with this problem. Any solution yet?

  50. Colin Noughty March 24, 2010 at 20:29 #

    I thought you’d be interested to know that I’ve been able to use my DB from Google Docs, Live Mesh, Amazon S3 and SkyDrive using the SMEStorage service. The way it works is similar to the way it works with Dropbox. You upload your files to one of these clouds (and the service support Rackspace and a load more but I have not tested these) and then you can get a unique link for the file that is not public. You can use this link to access the file from iKeepass. Works a treat !

  51. Sketcher July 16, 2010 at 11:01 #

    Please note: Works only for *.kdb files, not for *kdbx-Files. Attachments are not working. (3GS, FW 3.12).

    99 ct is a great offer! Got it from US itunes via ebay US gift card.
    Nethertheless great! Keep on developing!

  52. Johm March 15, 2011 at 05:14 #

    No matter what I do I can’t get this to work using dropbox (public or private link). Is there an update coming that will resolve this?

  53. jonah wolf March 18, 2011 at 11:43 #

    Same issue here as Philip above – with v1.2 on iPhone 3GS I enter the password, it says it’s opening the database and then nothing. I can’t get off this screen.


  1. Passwörter managen auf mehreren Systemen « Stefan Greifeneder – Geek Notes - November 18, 2009

    […] von rechtlichen Einschränkungen nur in US und Canada. Da auch die App Dropbox (auf folgende Art: unterstützt wird, wäre mit dieser App mein System […]

  2. Are you Happy? -tri- » JBiKeePass - December 20, 2009

    […] 次にデータベースファイルをサーバーにアップ。 *HPの説明通りにDropBoxを使用。 […]