➜ ~ echo "test" | gpg2 - clearsign -- -- -- -- -- BEGIN PGP SIGNED MESSAGE -- -- -- -- -- Hash: SHA256 test GPG: signature failed: No pinentry GPG: [stdin]: clear-sign failed: No pinentryCopy the code

This problem occurs, and then feel because of the box to save the password, what to do. https://blog.csdn.net/wenbo20182/article/details/72850810 search found under this article

; Add allow-loopback-pinentry to gpg-agent.conf. Add use-agent pinentry-mode loopback to gpg.confCopy the code

Follow the guide to success.

Publish using OpenWrite