Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google blocks KeeAnywhere #415

Open
michalkochanowicz opened this issue Jul 3, 2024 · 29 comments
Open

Google blocks KeeAnywhere #415

michalkochanowicz opened this issue Jul 3, 2024 · 29 comments
Labels

Comments

@michalkochanowicz
Copy link

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
@bphilippus
Copy link

duplicate of #393 it seems

@Hau-Hau
Copy link

Hau-Hau commented Aug 28, 2024

@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.

@marcelser
Copy link

the restricted mode opens nonsense localhost and so workaround also not possible anymore

@ItalianInPoland
Copy link

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.

@Greg280
Copy link

Greg280 commented Nov 15, 2024

Same issue for me today ! My plugin was in 2.0.3, I update it in 2.1.0 but no change.

@tasssman
Copy link

Sam today

@selcukduman
Copy link

Same thing happened to me today, too.

@jadrienb
Copy link

Same thing happened to me since today, and no possibility to reauthorize in "google account less secure apps".

@orzechszek
Copy link

The same problem.. it seems something new happened.

@Howy75
Copy link

Howy75 commented Nov 15, 2024

same same

@masztan
Copy link

masztan commented Nov 16, 2024

Screenshot_2
Screenshot_1
same! ;/

@domink
Copy link

domink commented Nov 16, 2024

Same here :-(

@Maryni
Copy link

Maryni commented Nov 17, 2024

Same

@FreakinRocket
Copy link

Same here

@Kaon68
Copy link

Kaon68 commented Nov 18, 2024

as many, same here :(

@AlexejHirsch
Copy link

i got the same issue, the app is blocked

@Kaon68
Copy link

Kaon68 commented Nov 18, 2024

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.

@grasmanek94
Copy link

yep same issue here unfortunately

@cacan
Copy link

cacan commented Nov 19, 2024

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":
image

image

@imotsch
Copy link

imotsch commented Nov 20, 2024

Same here.

@augustoschnorr
Copy link

For me this worked:

  1. Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
  2. Download your database file from Google Drive to local machine and open it locally with KeePass
  3. 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

@marcelser
Copy link

marcelser commented Nov 22, 2024

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?

@atramentus
Copy link

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.

@gtrevisanello
Copy link

For me this worked:

  1. Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
  2. Download your database file from Google Drive to local machine and open it locally with KeePass
  3. 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.

@kali-777
Copy link

kali-777 commented Dec 1, 2024

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?! 😣😜😁

@willistgt
Copy link

@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)?

@kali-777
Copy link

kali-777 commented Jan 5, 2025

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 😎

@DarkVelours
Copy link

For me this worked:

  1. Tools -> KeeAnywhere Settings -> Add -> Google Drive (restricted) -> finish setup
  2. Download your database file from Google Drive to local machine and open it locally with KeePass
  3. 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 ?

@Jackabomb
Copy link
Contributor

Yes, that's normal in the restricted mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests