PhilippC / PhilippC/keepass2android

[QUESTION] Field Reference: Last 4 characters of the password

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

Nobody has claimed this yet.

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

Description

What version of Keepass2Android are you using?
Please follow these steps to find your app version:

  1. Click the icon in the top right corner
  2. Select Settings
  3. Click About
  4. Find "Version" information and provide it here: 1.12-r5

I would like to refer to the last 4 characters of the password within the same data set. Currently this does not work.

Compare:
https://keepass.info/help/base/fieldrefs.html
https://sourceforge.net/p/keepass/feature-requests/1088/

My expression currently looks like this, although I have already tried other variants:

{T-REPLACE-RX:/{S:P}/.*(.{4})/$1/}

Does anyone have an idea where the error lies? Many thanks

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 expression in Keepass2Android 1.12-r5 and compare its behavior with the Keepass field reference documentation and feature request 1088. Trace the field-reference handling only after confirming whether same-dataset password references are supported; done means establishing the supported behavior or implementing and testing the requested last-four-character lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev, security
Issue type
Feature
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.