-
-
Save repodevs/a18c7bb42b2ab293155aca889d447f1b to your computer and use it in GitHub Desktop.
❱ 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 |
Worked for me too - thanks heaps!
Thanks, this really cleared the problem out for me!
It is more convenient to add export GPG_TTY=$(tty)
to.zshrc
.
You can avoid repeating this step in the future
sudo vi ~/.zshrc
Thank you very much.
Very helpful. Solved the problem of not being able to publish to Maven Central when attempting to follow these instructions: https://dzone.com/articles/publish-your-artifacts-to-maven-central
Works on Windows10 using Ubuntu as well
Really works for me and thank you.
thanks dude
It works! Many thanks!
muy bueno
thank you, it also works on google cloud IDE
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
It really works and solves the problem thank you :)