PhilippC / PhilippC/keepass2android
[BUG] Cannot unlock database using key file with blank password
Nobody has claimed this yet.
- 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:
In v.1.15+ I can no longer unlock a database using a key file with a blank password. Tapping the Unlock button does nothing as if it’s wanting me to enter a password as well as the key file, but as per the original KeePass desktop app on Windows, there is no need for both.
I see there was https://github.com/PhilippC/keepass2android/issues/2327 to tighten checks when selecting Password + Keyfile, so maybe we need a keyfile only option as per desktop.
Describe what you expected to happen:
Unlock the database when tapping unlock, having selected key file, even without entering a master password
What version of Keepass2Android are you using?
v1.15.r2
Which version of Android are you on?
12
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Android 12 using KeePass2Android v1.15.r2, selecting a key file while leaving the master-password field blank. Start from the Unlock button and the password/key-file selection flow, then verify that tapping Unlock opens the database with only the key file and does not require a password.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- authentication, mobile, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100