【问题标题】:gpg: Key generation canceledgpg:密钥生成已取消
【发布时间】:2018-03-26 16:51:16
【问题描述】:

我很难在 linux 中生成 gpg 密钥对。我正在按照本教程中的步骤操作:https://www.gnupg.org/gph/en/manual/c14.html

但是,在它要求我输入密码并插入密码后,我收到以下消息:

gpg: can't connect to the agent: IPC connect call failed
gpg: problem with the agent: No agent running                                 
gpg: can't connect to the agent: IPC connect call failed
gpg: problem with the agent: No agent running
gpg: Key generation canceled.

这可能是什么问题?

【问题讨论】:

    标签: linux gnupg


    【解决方案1】:

    在shell中运行以下命令

    kill -9 gpg-agent
    source <(gpg-agent --daemon)
    

    【讨论】:

      猜你喜欢
      • 2022-06-14
      • 1970-01-01
      • 2015-05-02
      • 1970-01-01
      • 1970-01-01
      • 2018-12-26
      • 1970-01-01
      • 2020-02-12
      • 1970-01-01
      相关资源
      最近更新 更多