加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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中看到这个错误注释掉.

enter image description here

这样您还可以在GitHub instructions之后为新密钥生成新的GPG密钥.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读