keepassium / KeePassium

KeePass-compatible password manager for iOS
https://keepassium.com
Other
1.21k stars 103 forks source link

Native OneDrive functionality does not show files in a shared folder #273

Closed nbhomeg closed 1 year ago

nbhomeg commented 1 year ago

Description Once I sign into OneDrive using KeePassium, I can see the shared folder (it was shared with me and it contains a password database) but the folder appears empty.

How to reproduce Steps to reproduce the behavior:

  1. Create a folder on consumer OneDrive with a KeePass database using one Microsoft account (let's call this User1)
  2. Share the folder with a different Microsoft account (let's call that User2) (with edit rights)
  3. Observe that when signed in with User2 on the iPhone OneDrive app, you can see the shared folder and see the .kdbx file in there
  4. Try to use the new KeePassium functionality to sign into OneDrive on User2's iPhone. Accept the 2FA prompt, accept access to OneDrive for KeePassium app.

Expected behavior After all of the sign-in things have been done, UserB can see all of the accessible OneDrive folders including the folder shared by UserA. But the folder appears EMPTY. There is nothing in it. I have verified that both in UserB's OneDrive app as well as web browser, the shared folder contains the .kdbx file.

Environment:

Additional context KeePassium works with the database in a shared OneDrive folder perfectly happily if going through the iOS OneDrive app, it is just the new functionality that seems to present the folder but does not "see" the password file in it.

keepassium commented 1 year ago

Thank you! Yeah, this was also reported via email and I can reproduce the issue. Apparently, I have missed something in the configuration.

I will look into this (likely in January, though).

keepassium commented 1 year ago

Evidently, the fix works only for personal OneDrive accounts. Business accounts still don't see shared files/folders. Reopening.