? ~ echo "test" | gpg2 --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: 簽名時(shí)失?。?No pinentry
gpg: [stdin]: clear-sign failed: No pinentry
出現(xiàn)這個(gè)問題,然后感覺是因?yàn)槟莻€(gè) 保存密碼的框的問題,那怎么辦呢。
搜索下發(fā)現(xiàn)這篇文章 https://blog.csdn.net/wenbo20182/article/details/72850810
;gpg-agent.conf中添加
allow-loopback-pinentry
;在gpg.conf添加
use-agent pinentry-mode loopback
按照指引成功。。
使用openwrite發(fā)布