Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.76k stars 276 forks source link

PCloud URI gets broken after refresh #1861

Closed Trivaris closed 5 months ago

Trivaris commented 5 months ago

Describe the bug

The Database.kdbx cannot be opened due to

Permission Denial: opening provider com.pcloud.content.PCloudDocumentProvider from ProcessRecor....

after having it open and then closing the KeePassDX App. All Solutions and Workarounds in the Wiki have been tried but they are either non-viable (like constantly having to reselect the file) or did not work.

A possible fix could be setting the path to /storage/5315-3157/database.kdbx which was found out by searching with mix-explorer. However this is not possible with DocumentsUI.

To Reproduce

Steps to reproduce the behavior:

  1. Click Open existing Vault
  2. Click PCloud Icon
  3. Select database.kdbx
  4. Open Database with Password
  5. Close KeyPassDX Application
  6. Open KeyPassDX Application after some time
  7. Database cannot be opened.

    7.5 Name does not say Database.kdbx, but /documents/{random string}

Expected behavior

  1. Database opens like normal

A clear and concise description of what you expected to happen.

KeePass Database

KeePassDX:

Android:

Additional context

Add any other context about the problem here.

J-Jamet commented 5 months ago

Unfortunately this type of problem cannot be solved from KeePassDX. If you've read the wiki, you'll understand that it's the PCloud application's file provider that breaks the link and raises the exception.

There are three solutions: