Git 生成GPG key 報錯 `Key generation failed: Timeout` 的解決方法

We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: Timeout
Key generation failed: Timeout

由於之前沒有生成過,所以 $ rm -rf ~/.gnupg 一行命令搞定,再生成就好了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章