Skip to content

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

@Frontear

Description

@Frontear

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

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 the latest master to see if the issue still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions