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 automatic syncing can be suppressed by holding down the Shift-key.
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-3.0.0]
Version 2.x of this Plugin is not compatible with the configuration of previous 1.x 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 (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.
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 to work limited with Linux: [19cca399#4df1]
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
+ [GoogleSyncPlugin-2.1.1]
+ [GoogleSyncPlugin-2.1.0]
+ [GoogleSyncPlugin-2.0.0]
+ [GoogleSyncPlugin-1.6.0]
+ [GoogleSyncPlugin-1.5.1]
+ [GoogleSyncPlugin-1.5.x]
+ [GoogleSyncPlugin-1.1.x]
Discussion: Error syncing on linux
Discussion: 81f69f55
Support: 1.x Installation Instructions
Support: GoogleSyncPlugin-1.1.x
Support: GoogleSyncPlugin-1.5.1
Support: GoogleSyncPlugin-1.5.x
Support: GoogleSyncPlugin-1.6.0
Support: GoogleSyncPlugin-2.0.0
Support: GoogleSyncPlugin-2.1.0
Support: GoogleSyncPlugin-2.1.1