? ~ echo "test" | gpg2 --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: 簽名時失斦懵恕: No pinentry
gpg: [stdin]: clear-sign failed: No pinentry
出現(xiàn)這個問題茶行,然后感覺是因為那個 保存密碼的框的問題躯概,那怎么辦呢。
搜索下發(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ā)布