Last active
September 21, 2023 13:44
-
-
Save saschadoemer/5c1873f44e9188e03d4e044bf22217d7 to your computer and use it in GitHub Desktop.
Simple workaround for "no-tty" GPG signing - Part I
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file /home/user/gpg-no-tty.sh | |
#!/bin/bash | |
/usr/bin/gpg --batch --no-tty "$@" |
Thanks! Your solution was instrumental in helping me work around a weird bug on Emacs' Version Control, where I was getting the famous "gpg failed to sign the data fatal: failed to write commit object" error message.
Nice!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! Your solution was instrumental in helping me work around a weird bug on Emacs' Version Control, where I was getting the famous "gpg failed to sign the data fatal: failed to write commit object" error message.