This is a Plugin for KeePass Password Safe >= v2.18. It allows to synchronize
the currently open database with a Google Drive Account.
It supports three modes of operation:
The "Synchronize" mode can be configured to run automatically when an open
database is saved, a database is opened or both. Databases which have no
matching configuration will be ignored.
The Plugin matches the remote file by the file name of the open database. The
remote file can be moved to any folder within the Google Drive, but the file
name must be unique within the Drive and match the local file name.
New release available
Changes made in this release: [GoogleSyncPlugin-2.1.0]
This version of plugin is compatible for KeePass Password Safe >= v2.09. It allows to synchronize
the currently open database with a Google Drive Account.
Version 2.0 of this Plugin is not compatible with the configuration of previous versions.
Discussion: [81f69f55]
When upgrading from version 1.x you should first remove all old configuration
settings and revoke the API access.
The Plugin requires the .NET Framework 4.0 on the system. (The .NET Client Profile does not suffice)
The Plugin requires OAuth 2.0 credentials to access the Google Drive API.
Starting with v2.1 it has it's own credentials built in, but still allows you
to provide your own as with previous versions.
In case you would like to provide your own OAuth 2.0 credentials, you can
create a Project with the Google Developers Console:
You should now have a "CLIENT ID" and "CLIENT SECRET".
The Plugin is now ready to work. On first use Google will ask for your consent to access your Google Drive.
The reference to your Google Account (UUID) as well as your preference for
AutoSync are saved in your KeePass config file.
The OAuth 2.0 credentials are saved securely inside the encrypted database.
You can use the compiled version of the Plugin instead of the .plgx file which
creates temporary files on the host system.
You should clear KeePass' Plugin Cache first ("Tools" > "Plugins" > "Clear")
and then restart KeePass with the .plgx Plugin installed.
The compiled version can then be found inside KePass' Plugin Cache folder.
e.g.: C:\Users[User]\AppData\Local\KeePass\PluginCache
Inside one of the cryptically named folders is a file named
"GoogleSyncPlugin.dll". Copy that folder with all it's files into the "plugins"
folder of your Portable KeePass installation. You may rename the cryptic folder
name to "GoogleSyncPlugin". Delete the GoogleSyncPlugin.plgx file from your
Portable KeePass installation if present.
The Plugin has only been tested with the .NET 4.0 Framework for Windows.
Linux and Mac OS X are not supported.
However, the Plugin does seem work limited with Linux: [19cca399]
The complete credit for the above instructions as well as v2.x changes goes to Paul Voegler. Thank you for all your contributions!
The old instructions for v1.x can be found here [1.x Installation Instructions]
Previous release logs