Hi!
After updating to KeePass 2.44, my Google Sync Plugin stopped syncing and, when asking to download from Google Drive, it prompted me to login again into my account. After doing so, it showed an error message saying my browser was not safe and it couldn't complete the authorization. I tried regenerating an OAuth 2.0 certificate but it kept showing the same error message. I found some possible fixes here in the forums: disabling Internet Explorer 11 and changing/adding keys to the Windows Registry. Through them, i was able to login to my account mbut now, when i get to the window where i need to authorize the app's access to my Google Drive, the Allow button is grayed out and i can't click it.
I tried rolling back all my edits to the registry and reenabling Internet Explorer 11, but it still gives me the same grayed out button.
Any ideas?
It's less convenient, and much more error prone, but you can synchronize "manually", without the plugin. Warning: take care and maybe make backups before trying this! The recipe below is basically how the plugin works; you are just doing it via other methods.
Download the file from Drive to the machine running KeePass, taking care not to overwrite the existing database file on the machine.
Start KeePass and open the database you want to synchronize with (not the one downloaded in step 1).
Select File|Synchronize|Synchronize with File...., which pops a file-open dialog.
Navigate to the folder where you saved the file in step 1, select it, click OK. KeePass will now synchronize the contents of both files.
Upload the synchronized file back to Google Drive (you might have to delete the original file there first to prevent a duplication).
There is a fix for the plugin in the works. It's actually available now in source code if you want to try and build & install it. If the merge request falls through, I plan to release it elsewhere at a later date.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's less convenient, and much more error prone, but you can synchronize
"manually", without the plugin. Warning: take care and maybe make backups
before trying this! The recipe below is basically how the plugin works; you
are just doing it via other methods.
Download the file from Drive to the machine running KeePass, taking
care not to overwrite the existing database file on the machine.
Start KeePass and open the database you want to synchronize with ( not the one downloaded in step 1).
Select File|Synchronize|Synchronize with File...., which pops a
file-open dialog.
Navigate to the folder where you saved the file in step 1, select
it, click OK. KeePass will now synchronize the contents of both files.
Upload the synchronized file back to Google Drive (you might have
to delete the original file there first to prevent a duplication).
There is a fix for the plugin in the works. It's actually available now in
source code if you want to try and build & install it. If the merge request
falls through, I plan to release it elsewhere at a later date.
--
"An ounce of action is worth a ton of theory. Don't be too timid or
squeamish about your actions." - Ralph Waldo Emerson
“Don’t be the best. Be the only.” — Jerry Garcia
Greetings ~ As clear as your instructions seem to be for manually syncing
my PC Keepass database with the Google Drive copy that my phone Keepass app
uses ~ I cannot get it to work. The evidence I use for this is looking for
a test record that I put in my PC's database to show up in my phone. I also
compare the contents of any of my PC Keepass folders with my phone. The
phone database is severely out of date.
Your instructions are clear. I follow them and Google Drive indicates that
the .kdbx file gets updated (judging by modified date). It seems that the
phone app is not connected to Google Drive. Is that possible?
If I cannot get keepass to sync between PC and phone, I will have to look
for another password manager.
It's less convenient, and much more error prone, but you can synchronize
"manually", without the plugin. Warning: take care and maybe make backups
before trying this! The recipe below is basically how the plugin works; you
are just doing it via other methods.
Download the file from Drive to the machine running KeePass, taking
care not to overwrite the existing database file on the machine.
Start KeePass and open the database you want to synchronize with ( not the one downloaded in step 1).
Select File|Synchronize|Synchronize with File...., which pops a
file-open dialog.
Navigate to the folder where you saved the file in step 1, select
it, click OK. KeePass will now synchronize the contents of both files.
Upload the synchronized file back to Google Drive (you might have
to delete the original file there first to prevent a duplication).
There is a fix for the plugin in the works. It's actually available now in
source code if you want to try and build & install it. If the merge request
falls through, I plan to release it elsewhere at a later date.
--
"An ounce of action is worth a ton of theory. Don't be too timid or
squeamish about your actions." - Ralph Waldo Emerson
“Don’t be the best. Be the only.” — Jerry Garcia
Thank you so much for the work that you have done.
I was wondering if the "fix" had been implemented.
I had just finished updating someone's KeePass and the Sync Plugin, and I was unable to sync using the OAuth 2.1 credentials.
Google returned an insecure browser denial. (Strange consider my older version is still working.)
Thank you again for all your efforts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Re-reading my post I maybe should clarify steps 4 & 5. After the sync, save the database (I don't think it does this for you), then upload the database file to Drive, not the file you downloaded.
Also, the phone app might not be cooperative. I have some experience with Keepass2Android. It has a "file handling" setting that checks for "external modifications" before saving its copy of the database. The default setting is "enabled", but that may not be the case elsewhere.
If the phone app is sorted out, you might also want to try another solution to the general sync problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for pickung up the project continuing it on GitHub with much needed improvemnts and updates, Walter. Very much appreciated!
I don't have merge rights here and I guess drdi has abandoned this project for good. He almost had last time when I picked it up. Glad someone picked up the torch.
Paul
Last edit: Uranium235 2020-08-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
After updating to KeePass 2.44, my Google Sync Plugin stopped syncing and, when asking to download from Google Drive, it prompted me to login again into my account. After doing so, it showed an error message saying my browser was not safe and it couldn't complete the authorization. I tried regenerating an OAuth 2.0 certificate but it kept showing the same error message. I found some possible fixes here in the forums: disabling Internet Explorer 11 and changing/adding keys to the Windows Registry. Through them, i was able to login to my account mbut now, when i get to the window where i need to authorize the app's access to my Google Drive, the Allow button is grayed out and i can't click it.
I tried rolling back all my edits to the registry and reenabling Internet Explorer 11, but it still gives me the same grayed out button.
Any ideas?
I am having this same problem. help plz. my keepass for android is getting more and more out of date.
It's less convenient, and much more error prone, but you can synchronize "manually", without the plugin. Warning: take care and maybe make backups before trying this! The recipe below is basically how the plugin works; you are just doing it via other methods.
There is a fix for the plugin in the works. It's actually available now in source code if you want to try and build & install it. If the merge request falls through, I plan to release it elsewhere at a later date.
Thanks! This actually makes more sense than some of the registry hacks I've
seen.
On Thu, Apr 2, 2020 at 9:50 AM walterpg1v walterpg1v@users.sourceforge.net
wrote:
--
"An ounce of action is worth a ton of theory. Don't be too timid or
squeamish about your actions." - Ralph Waldo Emerson
“Don’t be the best. Be the only.” — Jerry Garcia
Greetings ~ As clear as your instructions seem to be for manually syncing
my PC Keepass database with the Google Drive copy that my phone Keepass app
uses ~ I cannot get it to work. The evidence I use for this is looking for
a test record that I put in my PC's database to show up in my phone. I also
compare the contents of any of my PC Keepass folders with my phone. The
phone database is severely out of date.
Your instructions are clear. I follow them and Google Drive indicates that
the .kdbx file gets updated (judging by modified date). It seems that the
phone app is not connected to Google Drive. Is that possible?
If I cannot get keepass to sync between PC and phone, I will have to look
for another password manager.
Thank you
On Thu, Apr 2, 2020 at 9:50 AM walterpg1v walterpg1v@users.sourceforge.net
wrote:
--
"An ounce of action is worth a ton of theory. Don't be too timid or
squeamish about your actions." - Ralph Waldo Emerson
“Don’t be the best. Be the only.” — Jerry Garcia
Thank you so much for the work that you have done.
I was wondering if the "fix" had been implemented.
I had just finished updating someone's KeePass and the Sync Plugin, and I was unable to sync using the OAuth 2.1 credentials.
Google returned an insecure browser denial. (Strange consider my older version is still working.)
Thank you again for all your efforts.
Re-reading my post I maybe should clarify steps 4 & 5. After the sync, save the database (I don't think it does this for you), then upload the database file to Drive, not the file you downloaded.
Also, the phone app might not be cooperative. I have some experience with Keepass2Android. It has a "file handling" setting that checks for "external modifications" before saving its copy of the database. The default setting is "enabled", but that may not be the case elsewhere.
If the phone app is sorted out, you might also want to try another solution to the general sync problem.
Thanks for pickung up the project continuing it on GitHub with much needed improvemnts and updates, Walter. Very much appreciated!
I don't have merge rights here and I guess drdi has abandoned this project for good. He almost had last time when I picked it up. Glad someone picked up the torch.
Paul
Last edit: Uranium235 2020-08-16