Skip to content

Password char picker for filling so called 'masked' passwords written in python

License

Notifications You must be signed in to change notification settings

Kudlaty01/pycharpicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

pycharpicker

Password char picker for filling so called 'masked' passwords written in python and based on xdotool

Idea

Some banks allow only char-picked password authorization (by picking specific chars from the password). Not all password managers allow such input, so I have decided to create a simple middleware. Originally it was split into three scripts, but I have decided to stay in python

Requirements

Usage

  • fill login and proceed to masked password screen withing and leave the focus on the first password char field
  • start up a terminal emulator window and run the script inside
  • fill in the whole password and hit ENTER
  • pick char numbers (separated) and hit ENTER
  • that's it! you're logged in!

Tips

I prefer to use it with KeePassXC and tmux.

  • In tmux a session named for example chp can be created with the script run there.
  • Then an auto-fill rule may be defined in KeePassXC for the window named after the terminal emulator with chp session to fill only the password and end with Enter {PASSWORD}{ENTER}
  • when the password is needed the terminal may be opened (on my WM, i3, it's Super+Enter), tmux session called by tmux a -t chp (or better with a defined short bash alias, like ta chp in my case)
  • after hitting KeePassXC global auto-fill key sequence (it's Super+Shift+V on my setup) the password is filled after the prompt
  • then chars may be picked as in usual method

It is much more faster and convenient, but script has to be called again every time the session is invoked (but at least its parent directory is persisted by tmux)

Troubleshooting

If the picked password chars are filled in wrong place then try focusing the first password field again after spawning the terminal and then going back to terminal window

About

Password char picker for filling so called 'masked' passwords written in python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages