Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to enter passphrase for SSH key #241

Open
vstollen opened this issue Aug 11, 2024 · 1 comment
Open

Unable to enter passphrase for SSH key #241

vstollen opened this issue Aug 11, 2024 · 1 comment

Comments

@vstollen
Copy link

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

  1. Initialize a Git repo using SSH authentication and a passphrase-protected SSH key.
  2. Press Pp
  3. System prompts: "Enter passphrase for key: <key name>"
  4. 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.

@altsem
Copy link
Owner

altsem commented Aug 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants