-
-
Save BH1SCW/975e5cd97b540ca6ab6a4b8ac4a22594 to your computer and use it in GitHub Desktop.
gpg cryptic errors
This file contains 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
I started getting the error below after upgrading to gpg (GnuPG) 2.1.21 . | |
gpg: signing failed: Timeout | |
gpg: signing failed: Timeout | |
This was confusing at first, but the timeout was caused by gpg showing a password prompt that takes the full screen of the terminal, and after a period of time, it returned to the command line showing the timeout error. | |
I didn't notice the password prompt at first because I was working on multiple terminals and only saw the timeout error at the end. | |
Another error that I encountered earlier was: | |
gpg: signing failed: Inappropriate ioctl for device | |
gpg: signing failed: Inappropriate ioctl for device | |
This way caused by missing `GPG_TTY`, simply pass it inline `GPG_TTY=$(tty) foobar`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment