keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

[BUG] Wrong password is broadcast when switching from previous version

Open CoadMonkey opened this issue 6 months ago • 0 comments

Checks

  • [x] I have read the FAQ section, searched the open issues, and still think this is a new bug.

Describe the bug you encountered:

To recreate: Open an entry that has previous versions Use autofill to type the password (i.e. from KP2A keyboard into a note app so you can observe behavior) Switch to a previous version Optional: use autofill to type the previous version password. (the problem occurs just by viewing the previous version) Use back to get to the current version Use autofill to type password * Here you will notice that the old password is typed instead of current. Viewing the password looks current (correct) even though autofill types the old one.

The workaround is to back all the way out of the entry and go back in without looking at previous versions before using autofill.

I found this when using Input Stick (https://www.inputstick.com/) plugin to type the password. If you haven't seen this device, check it out! It's very AWESOME. The owner is great too. I thought this would be a problem with his plugin at first but after discussing with him it is apparent that this is a bug in KP2A's autofill side as you can see I can recreate it without using the Input Stick.

Tested on: Samsung Galaxy S9 Android 10 Keepass2Android v 1.12-r5 InputStick Plugin v 1.44

Pixel 8a Android 15 Keepass2Android v 1.11-r0 & 1.12-r5 InputStick Plugin v 1.44

Describe what you expected to happen:

 * Here you will notice that the old password is typed instead of current. Viewing the password looks current (correct) even though autofill types the old one.

The workaround is to back all the way out of the entry and go back in without looking at previous versions before using autofill.

What version of Keepass2Android are you using?

1.12-r5

Which version of Android are you on?

15

CoadMonkey avatar May 15 '25 17:05 CoadMonkey