小编rag*_*lin的帖子

gpg:签名失败:没有 pinentry

我正在尝试在 MAC OS 11.2.1 上设置我的 gnupg 配置

到目前为止,我已经设置了我的 SSH,我已经生成了我的 GPG 密钥并将其添加到 GPG 代理中。

现在,如果我运行这个命令:

 echo "test" | gpg --clearsign
Run Code Online (Sandbox Code Playgroud)

我得到这个结果:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

test
gpg: signing failed: No pinentry
gpg: [stdin]: clear-sign failed: No pinentry
Run Code Online (Sandbox Code Playgroud)

问题是,安装了pinetry:

pinentry-curses (pinentry) 1.1.1
Copyright (C) 2016 g10 Code GmbH
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Run Code Online (Sandbox Code Playgroud)

在我的 …

gnupg macos

16
推荐指数
1
解决办法
5030
查看次数

标签 统计

gnupg ×1

macos ×1