PhilippC / PhilippC/keepass2android

[BUG] Exclude similar looking characters

Open
#2,858 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:

If this option is activated, a combination of the capital letter "O" and the "0" (zero) is possible.

Describe what you expected to happen:

As these characters look too similar, I believe that the capital "O" and the number "zero" should be excluded when this option is activated.

What version of Keepass2Android are you using?

1.11-re0

Which version of Android are you on?

14

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 password-generation behavior in Keepass2Android 1.11-re0 with the similar-character option enabled on Android 14, then locate the code that builds the allowed character set. Done means generated passwords exclude both capital O and zero when that option is active, while other behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.