PhilippC / PhilippC/keepass2android

[BUG] No TOTP field in the entryFields hashmap when the openEntry event is listened to in the plugin sdk.

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

I have my plugin adding an action to all fields when the entry is opened. It does not add the action to the TOTP field.

Describe what you expected to happen:

I expected the action to appear on the TOTP field and it did not. It is on the OTP field. I'm guessing the TOTP field is added when the entry is opened, and that's why it's not in the hashmap provided in the 'openEntry' action.

What version of Keepass2Android are you using?

1.11-r0

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 reading the plugin SDK handling for the openEntry event and how its entryFields hashmap is populated; the issue names these entry points but no file or test. Done means the TOTP field is present when openEntry is received and an action added to all fields also appears on TOTP.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.