lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

ErrorBox: Feature not available for users using GPG cannot be discarded

Open chmouel opened this issue 3 years ago • 2 comments

Describe the bug

Trying to apply a patch onto a new commit and getting the :

Feature not available for users using GPG

messagebox, which is fair enough I guess but the message box cannot be discarded and stick into the middle of the screen doing nothing much but feeling me guilty of using GPG (altho it's acutally ssh signed commit but that's another story/wording bug for antoher time) 😺.

To Reproduce Steps to reproduce the behavior:

  1. GPG your commit
  2. Choose a patch from a commit
  3. Press C-P
  4. choose something to do of that patch
  5. See error

Expected behavior Esc to discard it i guess?

Screenshots image

Version info:

commit=, build date=, build source=homebrew, version=0.35, os=darwin, arch=arm64

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.

chmouel avatar Sep 30 '22 15:09 chmouel

For me, I was doing a git rebase via lazygit using 's' and squashing followed by 'r' to reword the commit. Interesting this works fine if the squash and reword is at the HEAD of git, but if not, it fails with the same error as above. The equivalent git rebase -i command works just fine with pgp signing.

richbecks avatar Mar 09 '23 14:03 richbecks

Potentially related: #1594

socketbox avatar Apr 04 '23 18:04 socketbox

@socketbox thanks for the link, the issue contains a workaround that gets rid of the error altogether.

@chmouel it's been years, just wanted to say hi! ;)

skrobul avatar Nov 29 '23 10:11 skrobul