keepassdroid icon indicating copy to clipboard operation
keepassdroid copied to clipboard

keyfile location problem

Open davelythgoe opened this issue 6 years ago • 5 comments

When opening KeyPassDroid after a phone reboot, the keyfile location field is filled out, but when unlocking with my fingerprint, I get the error: "File not found. Try reopening from your content provider". If I select the keyfile using the folder icon it works again. I can't confirm it, but I think it may occasionally happen at other random times, but definitely after a restart. Once the file location is selected, it seems to work for a while when reopening the app. I have the setting "Save keyfile" checked. This is with the 22nd Jan 2019 version and the previous version, and is fairly recent behaviour; it used to work fine. The keyfile and database file are in the same directory, Documents in internal storage.

I'm using a Samsung Galaxy S7 edge running Android 8.0.0.

davelythgoe avatar Jan 27 '19 10:01 davelythgoe

Same as #358 ?

FredL69 avatar Apr 28 '19 20:04 FredL69

It seems similar, though in my case the file is on local storage not cloud storage. Also, I never have problems with database file itself, only with the key file. It also seems to be intermittent, not just after a reboot. It will work for a while, and then suddenly stop working until I reselect the location of the database. I've now updated to a Galaxy S10, and I'm having the same issue on that as well.

davelythgoe avatar Apr 29 '19 08:04 davelythgoe

Hi,

It seems similar, but not exactly the same. In my case it’s the key file rather than the database. After I select the file again, it works OK for a while.

Cheers, Dave

From: Frédéric Lespez [email protected] Reply-To: bpellin/keepassdroid [email protected] Date: Sunday, 28 April 2019 at 21:47 To: bpellin/keepassdroid [email protected] Cc: David Lythgoe [email protected], Author [email protected] Subject: Re: [bpellin/keepassdroid] keyfile location problem (#345)

Same as #194https://github.com/bpellin/keepassdroid/issues/194 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bpellin/keepassdroid/issues/345#issuecomment-487414018, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALHFS5ROX5GB42F3U5NW3TDPSYEPBANCNFSM4GSSSXXQ.

davelythgoe avatar Apr 29 '19 08:04 davelythgoe

Hi, #358 is also about having to reselect the key file even if the location is already filled out (with the good location). I experienced the same thing as you : Seems random and definitely appears after a restart.

Maybe #358 includes another issue (db out of date) but the key file part is common to both issues.

FredL69 avatar Apr 29 '19 16:04 FredL69

I have the same problem on a Pixel2. I can always get the toast message if I remove keepassdroid from the "app switcher" (square nav bar button) and then reopen. I can also usually reproduce if I use the back button until keepassdroid exits back to home screen and then reopen. As others have said as soon as I reselect the key file everything works fine.

d-a-s avatar Feb 20 '22 20:02 d-a-s