gpg:抱歉,根本不需要终端 - 无法输入 [英] gpg: Sorry, no terminal at all requested - can't get input
本文介绍了gpg:抱歉,根本不需要终端 - 无法输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解密时出现以下错误:
$ eyaml 解密 -s 'ENC 和密钥继续在这里'
<前>.gnupg --quiet --no-secmem-warning --no-permission-warning --no-tty --yes --decrypt)失败:gpg:抱歉,根本没有请求终端 - 无法输入
我检查了我的钥匙,一切正常.在这一点上,我别无选择.
解决方案
如果您配置了
这也将允许您按照 GitHub 生成新的 GPG 密钥新密钥的说明.
When decrypting I get following error:
$ eyaml decrypt -s 'ENC and the key goes on here'
.gnupg --quiet --no-secmem-warning --no-permission-warning --no-tty --yes --decrypt) failed with: gpg: Sorry, no terminal at all requested - can't get input
I have checked my keys, everything is in order. At this point I am out of options.
解决方案
If you configured Automatic Git commit signing with GPG on macOS and you see this error comment out no-tty
in ~/.gnupg/gpg.conf
as suggested by Fahl-Design.
This will also allow you to generate new GPG keys following the GitHub instructions for new keys.
这篇关于gpg:抱歉,根本不需要终端 - 无法输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文