GPG signing failed: Timeout 问题的解决方法
参考:Gpg: signing failed: Timeout
问题起因
尝试用GPG进行签名,但是在输入指令后没有任何反应,最后超时。同时pass没法使用,因为pass也依赖于GPG
解决方法
加上--pinentry-mode loopback即可
Pinentry是什么
pinentry is a small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner
在使用--pinentry-mode loopback后,这会使得pinentry向用户索要密码
