32

KeePass on Android and Windows Synced Using Google Drive


Hi, my name is Seth. Today, I’m going to give a little demonstration
on using KeePassDroid from an Android device and KeePass from a Windows device and then
Google Drive on both devices to keep a single database in sync across all your devices. So, let’s dive right in. So step one, you’re going to need to install
some software. First thing you’re going to need is Google
Drive. It should already be installed for most of
you, but if not, you can find it in the Google store. And you can see it’s already installed for
me. And the next one that you’re going to need,
of course, will be KeePassDrive(sic) I mean KeePassDroid. Install that. So once you have the software, go ahead and
start up KeePassDroid and it will default to creating a new database in this location. Now, if you already have a database then you
can… you don’t need to go into KeePassDroid at all. You can just start at the step where I start
uploading it into into Drive. And I’ll show you where that is. So, I’m going to create this database with
the default name. I’m going to give it a simple password. And I’m going to add an entry. Now, right now you probably can’t see what
I’m doing. That’s because KeePassDroid blocks screen
capture while password entries are being shown. Alright. And I’m going to exit out of KeePassDroid. Now I’m going to go into Google Drive. This is where I’m going to grab that database
that I just created and upload it. So the first thing that I’m going to do is
create a folder for it and I’m going to call my folder MyKeePassFolder. Then I’m going to go into that new folder
and I’m going to upload my data. You do that by hitting the (+) and do upload. Now you have to hit the three stacks to Show
Internal Storage. I was already showing it. Then you go into your device. Mine’s the Nexus 5x. Then you go to the KeePass folder and this
is the database that I just created. So, I’m going to click on the open and now
it’s uploading that new database. Now, it’s finished and so I’m going to click
on the three dots for more options and I want to make this available offline. That’s going to make it so that if I don’t
have a data connection, I can still get to the last updated copy of my database. And now I’m finished with … finished with
Drive. And now, I want to create a shortcut to that..
to that database. So I’m going to hold down on the home screen,
get the widgets, go down to Drive, and I’m going to make a Drive Shortcut. I’m going to hold down and drag that to my
home screen. If I have multiple accounts before I see this,
I’d be asked which account I want to use. Now it’s showing me my folders, so I want
to navigate into the folder that I created for it and I’m going to select that kdbx file. Now I have a shortcut on my home screen that
goes directly to my database. Which means if I have multiple databases stored
in there, then I can get to any one of them – each by it’s own shortcut. And now this is opening the file from Google
Drive. There’s my entry. I’m going to add another one. OK. And now I have two entries. And I’m going to exit. That concludes the section on the phone. When you next see me, I’m going to be on the
computer. Alright, and welcome to the computer. So the first thing we’re going to need to
do is we’re going to need to download KeePass. And we get that from KeePass.info. Go to the downloads page, and we want the
Professional Edition which is currently KeePass 2.34. Alright, and I’m not going to make you guys
wait for this download. I’ll pick up where the install starts. Alright, and we are successfully downloaded
and now I’m going to run the installation. Yes, I do want to allow this app to make changes. Alright, and accept the agreement. I usually take the defaults for installations
like this. You want to make sure that you allow it to
associate kdbx files with KeePass. That’s how it’s going to know what application
to open. Alright, and if I did my job correctly, I
cut out a little bit more of that waiting there. And now it’s finished, so I’m going to allow
it to launch. This just ensure that the installation went
ok – I’m not actually going to do anything in it. I am going to enable it to check for it’s
own updates so it’ll let me know when there are updates to be installed. And now we’re in KeePass successfully. And I’m just going to exit back out. So the next thing we need to do is download
Google Drive Sync, so we’re going to go to drive.google.com. We’re already logged in – it just came right
up otherwise I would have to log in here. And all we need to do is click on the gear
box. There’s also a little notice down here, but
if you’ve dismissed that, it may not be showing up for you, but under the gearbox, there is
a download drive link. And there is an option for Download for PC. I am going to Accept and Install. And, I’m going to start the installation. And, yes I want it to make changes. Now, it’s going to download for a little bit
and I’m not going to make you guys wait for that. I’ll pick up after this. Ok, and the installation is now complete. Alright, now it needs us to log in to our
account. Alright and then this gives us a little bit
of information about it. And now when we get to this screen where it
says you’re all set, you want to make sure you click on the sync options button. For me personally, I don’t like to sync everything,
so I like to select the folders that I’m going to sync. And I’m just going to sync the MyKeepassFolder
folder. Start the Sync. So what it did is after it was done installing
it showed us the google drive folder on our system. And since there was very little there, it
synced very quickly. So I’m going to copy the file, but paste it
as a shortcut. So now I have a shortcut to the file on my
google drive sync folder. So then, whenever I want to open it, all I
do is double click it or single click it depending on how your Windows is set up. And it’s password was set when I created the
database on the phone and these are the entries that I added on the phone. I’m going to add another entry here too, just
to show that I can. There I have three entries. Now notice I have a little star here to tell
me that I have an update that needs to be saved. On the PC side of things, you do have to save
it hen you’re finished. So what I like to do is just close the application,
and hit save. And now my database has been saved to Google’s
Google Drive. I’m going to pick up another quick demonstration
on the phone just to show you that that entry is out there. Alright, and we are back on the phone. And I’m going to double click on my KeePass
database shortcut and I get the opening in Drive. And I’m going to put in my password. And now you can see I have all three of my
entries. The file automatically synced itself on my
phone. So I hope that this has proven useful, helpful
and thank you for watching.

Glenn Chapman

32 Comments

  1. Excellent work! I am using a Samsung S3 and I don't see the option, show internal storage. Even though I click the 3 dots. Any ideas how to show internal storage. Thanks

  2. Thanks for the excellent tutorial video Seth!
    I had a slight problem to start with. I was trying to sync three devices, my phone, tablet and my computer.
    I had one to many databases but I've managed to sort it out now.
    Thanks again from across the pond!

  3. Hi Seth, thanks for your tutorial. I still have a question though. What if someone knows the password or hacks into your Gdrive?

  4. Worked great with KeePass2 2.35 too!  Thanks for taking the time to patiently show each step!

  5. yeah but in this way, when you add something from the computer while the phone isn't connected, and then you add something to the phone while its not connected, from the two entries only the entry with the last sync will pass

  6. Thanks, how safe it is to access to all your passwords from your cell phone? even if the file is encrypted the app developer is not KeePass so would it not have the chance to see your data? I dont know a lot of programming so sorry if I just said something stupid but as you would understand… I am fucked if anyone has the chance to access my KeePass database

  7. Thank you so much your video was so easy to follow very clear and just loved it thanks again.

  8. Thanks, very helpful. You mentioned sound could be better…you could take the sound track run it though Audactiy and clean up / level out the presentation. (It's a great free one too)

  9. Google drive program refuses to launch after downloading, simply says installation complete but does not run. what should I do? Thanks

  10. thank you you …can also save portable version of Keepas in Drive and launch it, to open your data base in any PC that diden't have keepass installed.

  11. Thank you for your video! I wasn't smart enough to figure this out on my own but your video made it easy. Audio was fine after cranking up the volume on my end.

  12. What happens if you have KeePass open on the phone and the PC and you make an update on each (either add a new record on both or change an entry on both or add an entry on one along with adding an entry on the other, this could include deleting an entry). Normally I open KeePass on my PC and don't close it. Also I have KeePass runing on multiple systems. Would it work differently if using Dropbox?

  13. I use iPhone and Dropbox (installed in both on my phone & laptop) instead of Google Drive. And the app on my phone is Minikeepass (for IOS). I can't sync data for both devices. For ex: if i add new entry on the phone app, it won't be synced to the Database file in my laptop (Dropbox) and vice versa. What should I do?

  14. Thank You for this movie 🙂
    This solutions is very helpful for me,
    because GoogleDriveSync plugin not working for me.

  15. Good video Seth! The way I have bidirectional synchronization support is similar to yours, but I use Dropbox using the KeeCloud plugin over URL in the contextual menus for KeePass 2.x. (your method is definitely simpler than mine). I highly recommend for anyone using any cloud-based online storage provider such as OneDrive, Dropbox, Google Drive, etc. to store your KeePass database files online is to use a KEY file along with your password as a two-factor authentication method to unlocking your database. KeePass does offer protection mechanisms on master passwords against brute-force and dictionary attacks but I'm paranoid when it comes to security. For obvious reasons, don't store the KEY file alongside the database file online; Keep it offline. Store the KEY file locally on your computer to unlock your database and store your KEY file locally on your phone to also unlock your database. For those who don't know what a KEY file is: a KEY file is basically a text file (can be an image or other file types) where you can type (or have KeePass generate one) a random set of characters and as long as you want (could be 10,000 random characters) and even if someone manages to get your database password, they'll need this KEY file to unlock your database. This way, if some hacker manages to gain access to someone's online storage and is able to successfully attack your database and retrieve your password, they'll need your KEY file to unlock it and for that reason, you don't store your key file online. For more information on KEY Files, I provided the link:

    https://keepass.info/%0D/help/base/keys.html#keyfiles

  16. Thanks for this vid 🙂 Same idea still works, even on Mac using MacPass. Cheers!

Leave a Reply

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