PhilippC / PhilippC/keepass2android

[BUG] modifying entry via this app breaks the whole database

Open
#3,032 7 comments 4 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:

I just modified one of the string fields for one entry and it breaks the whole database! See the screenshots..

The kdbx file is suddenly 0 byes in size. Since I'm modifying it directly it corrupted the file remotely. Luckily I have a backup but this is serious.

I'm on Android 15, latest app version (just got updated today).

Describe what you expected to happen:

No response

What version of Keepass2Android are you using?

1.14-r0

Which version of Android are you on?

15

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

Start by reproducing the report on Android 15 with Keepass2Android 1.14-r0, using a backup kdbx file and modifying a string field. Investigate why the file becomes zero bytes and verify that the database remains intact after the edit; the issue does not name source files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
databases, mobile, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.