PhilippC / PhilippC/keepass2android

[BUG] Saving a kdbx via K2A resets the file's share (Nextcloud).

Open
#3,059 7 comments 1 reaction 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 share a .kdbx file through my Nextcloud instance (latest update, v31.0.9) to another user of the same instance or via public link. When editing and saving that exact file through K2A (connected via WebDAV or Nextcloud login), all existing shares for this file (both internal and public) will be cleared.

As this doesn't happen when using other operating systems (e.g. Windows, MacOS), I suspect it's an issue with K2A's sync.

Describe what you expected to happen:

The share should still remain after editing and syncing the file with K2A when using Nextcloud sync (using WebDAV or Nextcloud login).

What version of Keepass2Android are you using?

1.14-r1

Which version of Android are you on?

16

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 issue with a shared .kdbx file in Nextcloud, using both WebDAV and Nextcloud login, then save it through K2A 1.14-r1 on Android. Trace the sync path involved in saving and verify that internal and public shares remain after the file is edited and synced.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.