PhilippC / PhilippC/keepass2android

[BUG] Deleting Cache and Storage for App does not clear database history or backups

Open
#2,399 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

Ran into a corruption issue where my database ended up half the size and wouldn't recognize the password. Database backup rescued! However I was trying to check all of my backups and clear out the old versions just in case, so I renamed my files, performed comparisons and syncs on a windows desktop with the latest version of Keepass, and put them back in the Apps/Keepass4Android folder as usual.

Opened up my android (Samsun Galaxy S20 5G (SM-G981U), went to the settings of the app, and deleted the cache then the storage before uninstalling the app.

Reinstalled the app, opened it, and it had my database history with all backups still available. Opening them re-copyed them with the old names to the Dropbox folder. :(

Describe what you expected to happen:

Deleting the cache and storage of the app should have removed all configuration files, backups, and references. Uninstalling and reinstalling the app after those steps should have launched into the new user first time run experience with no saved databases, backups, or other non-default configuration values.

What version of Keepass2Android are you using?

1.09e-r7

Which version of Android are you on?

13 with Android security patch level July 1, 2023

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce on Android 13 with Keepass2Android 1.09e-r7 by deleting cache and storage, uninstalling, and reinstalling; then trace handling of database history, backups, and Dropbox references. Done means a reinstall starts with no saved databases, backups, or non-default configuration values.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.