keepmenu icon indicating copy to clipboard operation
keepmenu copied to clipboard

Passwords are often miscopied

Open hasufell opened this issue 4 years ago • 8 comments

I often have to repeat the process:

  1. open keepmenu
  2. select "View/Type Individual Entries"
  3. select my gpg key
  4. have it copied incorrectly (the first char ends up uppercase, although it isn't)

type_library = xdotool is set.

This also lead to bigger problems where I copied a passphrase into terminal, where I cannot see whether it was copied correctly and then had a private key I could not recover at that time.

I'd expect a password manager to be able to copy my passwords correctly.

hasufell avatar Aug 18 '20 13:08 hasufell

Yeah, unfortunately I occasionally have that issue too, although not too often. I think it's a problem with the typing library xdotool or PyUserInput, or perhaps how I'm calling them. At some point I'll switch to pynput (#54) and hopefully that will help. I'm open to other ideas on how to troubleshoot, as it appears to be somewhat random :frowning_face: It does feel like sometimes when I'm trying to open keepmenu and type too fast is when the problem occurs...perhaps some unwanted keystrokes get inadvertently typed?

firecat53 avatar Aug 30 '20 15:08 firecat53

I started using keepmenu yesterday and see this some 30% of the time - it does seem to be connected with the shift key somehow not being registered - for example, I've observed an email being auto-typed as username2domain instead of username@domain (with an US keyboard layout, so @ is Shift+2).

This is without type_library set, but I'll try with type_library = xdotool now and see if that helps in any way.

The-Compiler avatar Sep 04 '20 13:09 The-Compiler

I was also going to try adding in a slight delay between letters, similar to the delay when Keepass or KeepassXC type passwords, and see if that helps (in addition to the pynput switch).

firecat53 avatar Sep 04 '20 15:09 firecat53

Tried with pynput and it seems to be working fine for the most part. It will occasionally capitalize the first letter of the username though.

firecat53 avatar Sep 04 '20 15:09 firecat53

@hasufell, have you noticed any improvement using pynput, or any problems when using xdotool?

firecat53 avatar Sep 14 '20 21:09 firecat53

@firecat53, for me, on the contrary, xdotool works. pynput out of the box - not.

PRESFIL avatar Sep 15 '20 17:09 PRESFIL

I've also still noticed issues with Pynput, where apparently typing capital letters with Shift doesn't always work :worried: Trying xdotool now.

The-Compiler avatar Sep 16 '20 07:09 The-Compiler

Has anyone noticed this issue recently? I've been using either xdotool, ydotool, or wtype for keepmenu and bitwarden-menu for quite some time now with any problems.

firecat53 avatar Apr 07 '22 00:04 firecat53

Closing. I haven't seen this issue for quite awhile and have received no other recent reports.

firecat53 avatar Oct 17 '22 14:10 firecat53