-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gpg signing is not working correctly #5022
Comments
Thanks for reporting! Could you try to launch GitButler from a terminal window, for instance with If that works, it's clearly an issue with GitButler, as windowed application, not seeing the necessary environment variables, which is a known issue. Thanks for your help. |
That's great to hear! Thanks also for showing a screenshot, as it makes clear that the password entry is bound to having a terminal. So even if everything was configured correctly even without having all the environment variables, In order for GitButler to be handling this, it would somehow have to provide a terminal session to the programs Git may launch while creating commits - maybe that's possible somehow. |
Sorry for the inconvenience! There are three action points here:
|
Version
0.12.27
Operating System
Mac OS X
Distribution Method
dmg (Apple Silicon)
Describe the issue
Hello,
I'm trying to sign with GPG my commit. In project settings I got the error: "gpg: signing failed: Inappropriate ioctl for device"
This could be solved by doing a
export GPG_TTY=$TTY
I have the export in my .zshrc configuration
How to reproduce
MacOS Apple M2
gpg (GnuPG) 2.4.5
libgcrypt 1.10.3
Go to 'Project settings', click 'Git', enable 'Sign commits'
Define the 'signing program' to /opt/homebrew/bin/gpg
Click 'Test signing'
Expected behavior
GPG signing is working
Relevant log output
The text was updated successfully, but these errors were encountered: