gpg:对不起,根本没有要求的终端-无法获得输入 [英] gpg: Sorry, no terminal at all requested - can't get input
本文介绍了gpg:对不起,根本没有要求的终端-无法获得输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解密时出现以下错误:
$ 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.
推荐答案
如果您配置了使用Git自动提交签名在macOS上使用GPG ,您会在~/.gnupg/gpg.conf
Fahl-Design 所建议的所请求的请求-cant-get-input/51174117#comment88837127_40393581> .
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.
这也将允许您根据 GitHub有关新密钥的说明.
这篇关于gpg:对不起,根本没有要求的终端-无法获得输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文