Created
December 12, 2018 14:56
-
-
Save repodevs/a18c7bb42b2ab293155aca889d447f1b to your computer and use it in GitHub Desktop.
gpg: signing failed: Inappropriate ioctl for device macOS
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
❱ git config user.signingKey 38AF394C | |
❱ git config commit.gpgSign true | |
❱ echo "test" | gpg --clearsign | |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
test | |
gpg: signing failed: Inappropriate ioctl for device | |
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device | |
❱ export GPG_TTY=$(tty) | |
❱ echo "test" | gpg --clearsign | |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
test | |
-----BEGIN PGP SIGNATURE----- | |
XXXXXX SUCCESS XXXX | |
-----END PGP SIGNATURE----- | |
ref: https://github.com/keybase/keybase-issues/issues/2798 |
Many thanks it works!
This was exactly what I needed to solve an issue with moving to a new macbook. Thank you very much!!!
Thanks
Lmaoo, It worked!
but do I need to do this all the time?
Cos I have done this before😂
thank you! spent a month not dealing with this.. finally it works now :)
Thanks!
work, problem is tty?
Unfortunately, it doesn't work on My Arch Linux
THX S2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you, it also works on google cloud IDE