linux – gpg:对不起,没有终端请求 – 无法获得输入
发布时间:2020-12-13 23:54:34 所属栏目:Linux 来源:网络整理
导读:解密时我收到以下错误: $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 我检查了我的
解密时我收到以下错误:
$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 我检查了我的钥匙,一切都井然有序.在这一点上,我没有选择. 解决方法
如果你配置了
Automatic Git commit signing with GPG on macOS,你会在
Fahl-Design~~ / .gnupg / gpg.conf
as suggested中看到这个错误注释掉.
这样您还可以在GitHub instructions之后为新密钥生成新的GPG密钥. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |