keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.73k stars 1.43k forks source link

Entering the password in auto-type with keyboard results in an error #1856

Closed alensiljak closed 5 years ago

alensiljak commented 6 years ago

Expected Behavior

Entering a password into a web site, for example, should behave the same whether the entry in the list at the auto-type window was selected by keyboard or by mouse.

Current Behavior

If an entry is selected via keyboard and Enter is pressed, most sites return an error with invalid login. If the same entry is selected via mouse, the login proceeds correctly.

Possible Solution

Not sure. I guess this is a bug but requires a further confirmation.

Steps to Reproduce (for bugs)

  1. Get to a web site that requires log-in
  2. Press the auto-type hotkey combination
  3. Select an entry with keyboard (up/down) and press Enter

Context

Not moving a hand from keyboard to select an entry should work equally well.

Debug Info

KeePassXC - Version 2.3.1 Revision: 2fcaeea

Libraries:

Operating system: Windows 10 (10.0) CPU architecture: x86_64 Kernel: winnt 10.0.14393

Enabled extensions:

alensiljak commented 6 years ago

OK, this does not happen on every site but I did notice it a few times so far.

It happens every time on the following site(s):

droidmonkey commented 6 years ago

It's probably because the site is doing some stupid JavaScript trickery when you submit the form that the autotyping is not triggering.

mrnagydavid commented 6 years ago

I have the same problem, e.g. with github, too. No such problem with the original KeePass or the Mac port of it.

droidmonkey commented 5 years ago

I cannot reproduce this, even on the degiro.nl website. When I click the eye icon, the full password has been entered by autotype, no issues. If you keep having issues you can add a small delay between {TAB} and {PASSWORD} such as {DELAY=100}

alensiljak commented 5 years ago

Yes, I guess it's been working for some time now, for whatever reason. :)

cedricvanrompay commented 5 years ago

I am having a somehow similar problem, don't know if it is the same or not. The solution from @droidmonkey [1] does not fix it for me.

Steps to reproduce (for me)

Debug Info

KeePassXC - Version 2.3.4 Revision: 2cc52a8 Distribution: Snap

Libraries:

Operating system: Ubuntu Core 18 CPU architecture: x86_64 Kernel: linux 4.15.0-34-generic

Enabled extensions:

droidmonkey commented 5 years ago

Lol look closely....

<input type="password" name="pwd" maxlength="8">

cedricvanrompay commented 5 years ago

Damnit.

Okay, then now it seems to work. I used to have "incorrect password" problems frequently on websites so I stopped using the "auto-type feature", but I will start using it again and come back to you if it comes back.

Sorry for doing such a bad job at bug reporting :'-(