altsem / altsem/gitu

Unable to enter passphrase for SSH key

Open
#241 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
2.9k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SSH-authenticated push with a passphrase-protected key, following the listed steps from pressing Pp through the passphrase prompt. Trace the passphrase prompt and keyboard-input handling in the push flow. Done means the passphrase is accepted without triggering regular gitu commands and the commits are pushed after Enter.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.