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.
Support for Keepass 2 ? any plans ?
iKeePass could be compatible with the Dropbox iphone application too, it lets other applications access its files.
@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.
I’m missing something. If you delete the database file from the public DropBox folder, what is iKeePass linking to after the deletion?
@Eric: iKeePass is downloading the database to the iPhone and using only this local file.
Wann gibts das im Deutschen App Store???
I’m waiting … when Ikeepass in all Apple appstore ?
I’m working for long time with keepass on pc computer.
Thanks
Paul
Sehr gute frage. Und wann gibts das im Schwedischen App Store?
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!
PLEASE PLEASE… INCREASE THE FONT SIZE, or allow the user to select. It is ENTIRELY TOO SMALL.
Thanks
Other than that… REALLY COOL.. I’M Telling all my friends about it.
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?
WooHoo! Tested with dummy kdb from KeePassX and it worked fine.
1. Copy db to iPhone
scp MyKeepassDB.kdb mobile@192.168.1.100:/User/Applications/B533A0B8-E008-4C08-9CDC-10AAF4CDD81B/Documents/
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.
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.
SomeAdmin:
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.
There is a better (more secure) way to do this:
just use this one: http://www.rejetto.com/hfs/
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!
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.
When will KeePass be available in the Swiss-Store??
Any idea?
[quote]When will KeePass be available in the Swiss-Store??
Any idea[/quote]
Any response ?
Pour quand dans French store ?
[...] von rechtlichen Einschränkungen nur in US und Canada. Da auch die App Dropbox (auf folgende Art: http://ikeepass.de/bl0g/?p=175) unterstützt wird, wäre mit dieser App mein System [...]
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?
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.
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.
SomeAdmin and dhyams, thanks for the insight!!
FYI, my dir structure on a 2G is this for the db:
/private/var/mobile/Documents
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?
No KeePass Professional file (.kdbx) support
THANK YOU!!!!!!!!!!! I’m so excited that I can finally get this to work!!!!
Thank you so much!
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!!
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?
Thanks.
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.
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 documents\my dropbox\public”, http://dl.dropbox.com/u/*******/v2%20current%20**.kdbx”, “http://dl.dropbox.com/u/*******/” and several other combinations of same. What do I do?
Buster
Nice contribution. Thanks.
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”http://www.rejetto.com/hfs/
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!
Again,
Thank you all for your suggestions and I hope I helped those having some troubles.
Buster
Here’s a better way to get your db onto the iPhone, AND seamlessly keep it in sync:
http://www.youtube.com/watch?v=PMoXvRrv1SA
Steps are in the description.
Enjoy!
[...] 次にデータベースファイルをサーバーにアップ。 *HPの説明通りにDropBoxを使用。 [...]
what is the database password?
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?
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?
Karsten,
I followed the the instructions from the web address you specified (“http://ikeepass.de/bl0g/?p=175″) and everything perfect now. Thanks for your help and direction with this. Tremendous service!
Thank you again,
George
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?
@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 kf@ikeepass.de
In reply to Diablo: for example your dropbox url is https://www.dropbox.com/Diablo/Public/ 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 http://dl.dropbox.com/u/xxxxxx 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
will there be a .kdbx format support please
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 iKeepass.app 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.
anyone has tried or checked MyKeePass ?
http://itunes.apple.com/de/app/mykeepass/id353354895?mt=8
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.
excuse my test.