jesseduffield / jesseduffield/lazygit

Invoking lazygit in a repository randomly prints the gpg card reader prompt (yubikeys and such)

Open
#4,033 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
Running lazygit in any repository will randomly invoke gpg, which tries to ask for yubikey signing. This not only breaks the prompt but also then will timeout and the command log will show the git output. I believe this may be due to gpg.commitSign = true and gpg.tagSign = true, but I don't know why exactly its doing that.

**To Reproduce**
Steps to reproduce the behavior:

1. Run lazygit in any repository

**Expected behavior**
Do not randomly invoke signing, and especially do not break the prompt.

**Screenshots**
![image](https://github.com/user-attachments/assets/af05fe50-7b35-4864-aa4b-a44718462c0f)

**Version info:**
commit=, build date=, build source=nix, version=0.44.1, os=linux, arch=amd64, git version=2.46.1
git version 2.46.1

**Additional context**
Add any other context about the problem here.

**Note:** please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.