Home / Security / Sync Keepass to Google Drive with KeePassSyncForDrive
Keepass 2.46

Sync Keepass to Google Drive with KeePassSyncForDrive

KeePass Password Safe is a free and open-source password manager. I already wrotte a blog post 7 years ago about how to sync keepass to Google Drive. The howto is out of date, so I propose a new one :). This time, We’ll use the plugin KeePassSyncForDrive

1 / Plugin

Download the plugin : KeePassSyncForDrive

Copy & Paste the plugin file in the Keepass Folder :

Start KeePass, and go to Tools, to see the plugin

Loading...

2 / Create a Google API Key

  • In API & Services, click on “Library

and activate the Google Drive API

  • Then go to “OAuth consent Scren“, create the app registration :
    • App Name : KeePass Sync Drive (for example)
    • user support mail : your mail
  • Next page, “Scopes“, add the following :
  • Next Page, In the test user, add your gmail account,
  • Then, save the configuration.
  • Now you can go to the “Credentials” Page
  • Click on “Create Credentials“, and select “OAuth Client ID
    • Application type : Desktop App
    • Name : What you want
  • Then, click on create

Keep your client ID & your Client Secret for the next step

3 / KeePass configuration

  • Create a new entry in KeePass with :
    • title : accounts.google.com
    • url : accounts.google.com
  • Now, navigate to “Tools“, “KeePass Sync for Google Drive” & Configure
  • Enter the following parameters :
    • KeePass Entry Title : accounts.google.com
    • Target Sync Folder : The folder of your choice, can be empty
    • Enable Legacy OAuth 2.0 Credentials : Yes
    • Client ID : Your Client ID
    • Client Secret : Your Client Secret
  • You can click on Upload to drive
  • A pop up asking your account will appear,
  • Allow Keepass to access your drive

You now have your KeePass database on Google Drive, and you can sync it :)

Loading...

About Alexandre Nogard

Check Also

Forcepoint : Deploy the SMC on AWS | Part I

How to deploy Forcepoint SMC (Security Management Center) on AWS ? This is a good …

Investigate if your linux server has been hacked or not

We’re a lot to face intrusion attemps in our IS. There can be many interests …

Hash Cracking with AWS EC2 P3 & Hashcat

Password cracking is a mandatory activity when you perform a pentest. Having access to a …

Leave a Reply

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