KeePassDX icon indicating copy to clipboard operation
KeePassDX copied to clipboard

Databases on Proton Drive are always read-only

Open Decoherent opened this issue 2 years ago • 4 comments

Describe the bug

When opening a database from Proton Drive (which is in the standard file manager), the database seems to open read-only. The RO flag is unset when unlocking the database. When attempting to save an entry, a red error banner appears at the bottom of the screen. Due to the UI elements, I can only read the text "s not supported, c". As I back out of a test entry or lock the database, KeePassDX prompts a save, but shows the same error.

To Reproduce

Steps to reproduce the behavior:

  1. Acquire a ProtonMail account with Proton Drive support
  2. Install the Proton Drive Android app
  3. Copy a database into a folder in Drive
  4. Open the database with KeePassDX
  5. Attempt to save the database, which gives an error

Expected behavior

Well, I'd like the database to be saved.

KeePass Database

  • Created with: KeePass on Windows, honestly no idea what version, years ago
  • Version: KDBX 4
  • Location: Remote file opened through standard file manager
  • File provider (content:// URI): Not sure how to find this
  • Size: 224k
  • Contains attachment: No

KeePassDX:

  • Version: 4.0.5
  • Build: Both Libre and Free
  • Language: English

Android:

  • Device: OnePlus 6T
  • Version: 11

Additional context

Utilizing the database works fine, and the autofill is nice. I've read your page about File Managers and Sync, so I realize this may be a Proton problem, but I'm not really sure to start. My other file provider on my phone, OneDrive, doesn't have this problem.

Decoherent avatar Dec 28 '23 20:12 Decoherent

I have the exact same issue on my Pixel 7 Including the UI issue.

wassim-devel avatar Feb 29 '24 11:02 wassim-devel

This is a problem in the Proton application, which provides the file in read-only mode. Contact their teams. https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync

J-Jamet avatar Mar 01 '24 16:03 J-Jamet