Unable to enter passphrase for SSH key
When I try to push to an SSH-authenticated repository and I am prompted for the passphrase of my SSH key, I cannot enter the passphrase and keystrokes are interpreted as gitu commands.
Steps to reproduce
- Initialize a Git repo using SSH authentication and a passphrase-protected SSH key.
- Press
Pp - System prompts: "Enter passphrase for key:
<key name>" - Type passphrase
Expected behaviour
After typing the passphrase and pushing Enter my commits are pushed
Actual behaviour
Keystrokes seem to be interpreted as regular commands and chaos ensues.
Might be related to #99, however, I'm a new user unfamiliar with gitu.
This is indeed nasty. Pushing/pulling/fetching was made async some time ago. So Gitu reads keystrokes meanwhile the command is running. I wonder if there's a good way to prompt a password if required then continue async.
Facing the same problem. This fix is pretty much needed. 🙏🏼