Google blocks KeeAnywhere
Describe the bug I'm using KeePass2 with KeeAnywhere for years. Yesterday, when I installed it on new device, Google refused to authorize this app. The message translates to:
This application is blocked
This app tried to access sensitive information in your Google account. To make sure your account is safe, we blocked this attempt.
Today when I tried to use KeePass on a laptop I'm using for years, sync failed and when I've tried to reauthorize I've got the same error.
Environment:
- OS and Version: Windows 10
- KeePass-Version: 2.57 64bit.
- KeeAnywhere-Version: 2.1.0
duplicate of #393 it seems
@bphilippus #393 has been closed but issue still exists. There is new Google Drive Restricted mode, but it is workaround rather than solution of initial problem.
the restricted mode opens nonsense localhost and so workaround also not possible anymore
Hi, Since yesterday it hasn't worked for me. I tried to check again and I get this error. Unfortunately I can't find where to change the permissions in my Google account.
Restricted access does not solve the problem.
This app is blocked This app attempted to access sensitive information in your Google Account. To protect your account, Google has blocked access.
Same issue for me today ! My plugin was in 2.0.3, I update it in 2.1.0 but no change.
Sam today
Same thing happened to me today, too.
Same thing happened to me since today, and no possibility to reauthorize in "google account less secure apps".
The same problem.. it seems something new happened.
same same
same! ;/
Same here :-(
Same
Same here
as many, same here :(
i got the same issue, the app is blocked
Workaround described on #393 allow to save again on GoogleDrive, but only on root folder (at this time) (and KeeAnywhere is the only app that can update the file... don't know if multible Desktop KeePass + KeeAnywhere can update the same file). Doesn't fit my needs of sharing via GoogleDrive between my devices + auto backup on other folder system.
for now, still work on Keepass2Android.
yep same issue here unfortunately
Same issue here as well.
Updated KeePass [desktop] to the latest version 2.57.1 and KeeAnywhere 2.1.0 - now getting error "The following plugin is incompatible with the current KeePass version":
Same here.
For me this worked:
- Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
- Download your database file from Google Drive to local machine and open it locally with KeePass
- File -> Save As -> Save To Cloud Drive -> give it a name and hit OK button (I used the same one but it did not replaced the old version, instead a new file has been created of same name)
This way KeeAnywhere can access this new file and sync changes again.
Tested in Windows 10 KeePass 2.57.1 (64-bit) KeeAnywhere 2.1.0
The downside of all of this recommendations switching to restricted Google Drive is that only KeeAnywhere can use the file from the "Save As" action. If you have other clients for example for mobile devices like KeePass2Android etc. it wouldn't work I guess unless it get's full access that new file that gets created. Does it even work across multiple computers using KeeAnywhere or are they isolated from each other?
When using Google Drive (restricted), there is no way to save the database to any folder, only to the root of the drive. This is not always convenient.
For me this worked:
- Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
- Download your database file from Google Drive to local machine and open it locally with KeePass
- File -> Save As -> Save To Cloud Drive -> give it a name and hit OK button (I used the same one but it did not replaced the old version, instead a new file has been created of same name)
This way KeeAnywhere can access this new file and sync changes again.
Tested in Windows 10 KeePass 2.57.1 (64-bit) KeeAnywhere 2.1.0
As of 22/11/2024 at 13:26 I had success using @augustoschnorr method (thank you so much for sharing) on keepass 2.57 and KeeAnywhere 2.1.0. I haven't tested saving to folders different from the Gdrive root but I believe this kind of saving in not available as of now.
The downside of all of this recommendations switching to restricted Google Drive is that only KeeAnywhere can use the file from the "Save As" action. If you have other clients for example for mobile devices like KeePass2Android etc. it wouldn't work I guess unless it get's full access that new file that gets created. Does it even work across multiple computers using KeeAnywhere or are they isolated from each other?
Thankfully i can confirm without any "extra" settings - at least for me - its WORKING with KeePass2Android App, i downloaded from GDrive then save as Restricted GDrive on one of my Windows Laptop then just opened from GDrive with KP2Android App! 🤩 I even added new Entry on my Android mobile then opened on Windows it was 'there'! 😎 I still needs to Test from another Windows, but i guess it will work for sure! 😊 I would have been gone "crazy" if its NOT working i have 4x Windows Laptops & 5x Android Devices 3x Raspberry PIs which using Synced KeePass DB from my GDrive?! 😣😜😁
@kali-777 Did your Workaround with Google Drive Restricted work for all your devices? Do you think it also works with multiple Google Accounts (which have Shared Access on the kdbx files)?
i tested on like 5x Android Devices working fine! 😉 but on ONLY ONE Windows yet, coz on my Company laptop i "lost" my Admin rights recently can update the Plugin 😨😭 About multiple GMail account i added ALL my Google Accounts to ALL my Android Devices, but i usually use ONE my main GMail account to install Apps & use Apps except GMail App itself which is shared, so I try to keep them kind of separated i don't share files between even on Gdrive, i just Download then Upload again... Anyway i will try on my other Windows Personal Laptop soon, I was "busy" doing 2x MS Azure EXAMs 😎
For me this worked:
- Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
- Download your database file from Google Drive to local machine and open it locally with KeePass
- File -> Save As -> Save To Cloud Drive -> give it a name and hit OK button (I used the same one but it did not replaced the old version, instead a new file has been created of same name)
This way KeeAnywhere can access this new file and sync changes again. Tested in Windows 10 KeePass 2.57.1 (64-bit) KeeAnywhere 2.1.0
As of 22/11/2024 at 13:26 I had success using @augustoschnorr method (thank you so much for sharing) on keepass 2.57 and KeeAnywhere 2.1.0. I haven't tested saving to folders different from the Gdrive root but I believe this kind of saving in not available as of now.
I cannot save or open to another folder form mly root. Is this normal ?
Yes, that's normal in the restricted mode.