gitui-org / gitui-org/gitui

bad credentials despite normal cli being fine

Open
#495 91 comments 57 reactions 0 assignees View on GitHub
bug help wanted windows
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I can push from the command line normally `git push`, but pushing within `gitui` always fails due to 'bad credentials'.

**To Reproduce**
Commit some changes in `gitui`, press `p` to trigger a push. It always fails.

**Expected behavior**
Pushing should succeed as my ssh key is valid and works outside of gitui.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Context (please complete the following information):**
- OS/Distro : macOS 11, arm m1
- GitUI Version: 0.11.0
- Rust version: 1.49 stable

**Additional context**
`gitui` installed from cargo.

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by committing changes in gitui and pressing `p`, then compare it with a normal `git push` using the stated macOS, GitUI 0.11.0, and Rust 1.49 context. Trace the push and credential-handling entry points; done means pushing through gitui succeeds with the same valid SSH key.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.