PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.58k stars 377 forks source link

[BUG] Cannot use keyfile from "temporarily available" location? #2572

Open korsbakken opened 3 months ago

korsbakken commented 3 months ago

Checks

Describe the bug you encountered:

I use a keyfile stored on a USB thumb drive that I plug into the device when opening or unlocking the KeePass database. This has worked flawlessly in the past, but while setting up KeePass on a new device now, I get the following message after selecting the keyfile from the USB drive in the system file picker: "The file is only temporarily available for Keepass2Android. To use it, you must copy it to another location. Tap OK to select a location where the file should be copied."

This happens when selecting the keyfile, not the database. For the database, it would make sense to require permanent access, but you don't really want the keyfile to be permanently available when not needed for unlocking.

Describe what you expected to happen:

I would expect Keepass2Android to simply use the keyfile from the USB drive without requiring it to be copied. This has worked in the past, and a keyfile should not necessarily be permanently available from a security standpoint.

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14, on a Samsung Galaxy Tab S8