1
我試圖在我的Ubuntu 16.10上爲GitHub生成新的GPG密鑰。但是,它以錯誤消息gpg: Sorry, no terminal at all requested - can't get input
結束。我試過gpg2
以及沒有區別。GPG:生成密鑰失敗,無法獲取輸入錯誤
包括端子輸出:
[email protected]:~$ gpg2 --gen-key
gpg (GnuPG) 2.1.11; Copyright (C) 2016 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: Sorry, no terminal at all requested - can't get input
[email protected]:~$ gpg --gen-key
gpg (GnuPG) 1.4.20; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: Sorry, no terminal at all requested - can't get input
我怎樣才能解決這個問題,以便能夠生成GPG密鑰?
請發佈您的'gpg.conf'文件,即。有沒有包含'no-tty'的東西? –