KeeAnywhere icon indicating copy to clipboard operation
KeeAnywhere copied to clipboard

[Google Drive] Shared database files

Open Adambean opened this issue 5 years ago • 10 comments

Hello,

I'm not sure if this issue #93 is related as this mostly talks about the business G-Suite perspective with a subscription above the basic level, whereby Team Drives is a specific feature. (Regardless of whether you use Google File Stream or Google Backup & Sync.)

What we've tried so far is sharing the KBDX file (not a folder) from one account, then the receivers add the file as a shortcut to their drive. This makes it visible in KeeAnywhere, but cannot be opened. -- When you attempt this and insert any key (correct or not) you get a WebClient exception.

image

This is possibly related to what was said in issue #93

  1. Backup & Sync: There is not supported API to get the folders within "Computers". Except that, these folders are read-only. So the question is, whether it makes sense to support this or not, because you cannot save any changes. This is contrary to the spirit of this plugin, which was made to easily open and save ("sync") databases.
  2. Shared Files: API is clear, but could also have the read-only issue.

Thanks for reading. :)

Adambean avatar Jun 06 '20 15:06 Adambean

I removed my account from Tools > KeeAnywhere settings... then login again to Google Drive and now it's running again perfectly

ultraheroe avatar Sep 04 '20 06:09 ultraheroe

Not sure that's really related to the issue?

Adambean avatar Sep 04 '20 08:09 Adambean

Hi,

I get the same issue. I tried to remove and add again the Google Drive account in the plugin settings but it didn't change anything.

Lustrissime avatar Nov 18 '20 16:11 Lustrissime

It has something to do with the new way of Google to handle their options. Before, they had "Add to my drive". Now it's a "Add shortcut to my drive". We had a workarround by pressing SHIFT-Z to add it to our drive, but now SHIFT-Z is also linked to Add Shortcut so we are back to the original problem. The developer has to put some time on this.

cdebel2005 avatar Jan 18 '21 16:01 cdebel2005

Hi! I'm running into this same issue - I'm trying to open a shared .kdbx file on Drive, but KeeAnywhere doesn't seem to like shortcuts and I can't access shared documents. Don't suppose there are any plans to accommodate for this? If not, is there any workaround?

Tobias112358 avatar May 12 '21 04:05 Tobias112358

Workaround: Get the newer Google Drive File Stream desktop client, which is now available for individuals not on G-Suite here. https://support.google.com/drive/answer/7329379#zippy=%2Cdownload-install-google-drive-for-desktop

That'll allow you to open your KDBX on Google Drive without any KeePass plug-ins at all, and is also compatible with KeeAutoExec. The downside is you can only sign into one Google account at a time, but shortcuts to KDBX files shared with you work equally fine.

Adambean avatar May 12 '21 05:05 Adambean

Thank you! I ended up using Backup and Sync for Google Drive and added a shortcut to the shared database - it seems to sync well. https://www.google.com/drive/download/

Tobias112358 avatar May 12 '21 23:05 Tobias112358

Sorry for my late reply. There are plans, but currently I only have few time to implement things :-(

Kyrodan avatar May 18 '21 09:05 Kyrodan

This seems to be cropping up more often as Google gradually converts existing shares to the new shortcut format. @HaydnHaines shared a bit more about this issue. This info combined with Google's memo suggests this isn't limited to files and folders shared multiple users, but also may affect files that are all yours, if you accessed the file from different locations in the drive tree. Upon testing, this turned out to be true.

Workarounds:

  • Use some other Google Drive client software on your device to expose the shared file(s), then open file normally in KeePass.
  • KPSync for Google Drive can currently do this, but due to a security concern with their API token storage, you have to re-authorize every single session.

Jackabomb avatar Sep 14 '22 22:09 Jackabomb

Hello, is there any roadmap to close this issue? It is currently blocking our teams to collaborate on password lists

Phil-ipp1 avatar Apr 13 '23 09:04 Phil-ipp1