【问题标题】:GPG Input/Output ErrorGPG 输入/输出错误
【发布时间】:2016-03-10 04:49:41
【问题描述】:
gpg: signing error: Input/output error

当我尝试使用命令 mvn deploy -DperformRelease=true 部署我的 maven 项目时,我进入了必须输入 GPG 密码的步骤,我收到了上述错误。我以为这是因为我输错了密码,但经过多次尝试后,我一直收到同样的错误。然后我将我的 GPG 安装更新到最新的现代版本,但仍然是同样的错误。

然后我尝试创建一个新密钥,但是当我进入必须创建密码的步骤时,我收到了这个错误:

gpg: agent_genkey failed: Input/output error
Key generation failed: Input/output error

也是输入/输出错误。有趣的是,我相信在这两种情况下,我都会在这些错误上方吐出 2 行此错误:

gpg: AllowSetForegroundWindow(16252) failed: Access is denied.

这是否相关,我不知道。我该怎么做才能解决这个问题?

【问题讨论】:

    标签: maven gnupg


    【解决方案1】:

    我在 Windows (Gpg4win) 上使用 gpg 时遇到了类似的错误。我通过卸载 Gpg4win 并安装 Gpg4win-Vanilla(Gpg4win 的最轻量级版本)来修复它:https://www.gpg4win.org/download.html

    【讨论】:

      猜你喜欢
      • 2016-07-22
      • 1970-01-01
      • 1970-01-01
      • 2013-05-26
      • 1970-01-01
      • 2018-03-10
      • 1970-01-01
      • 1970-01-01
      • 2018-06-06
      相关资源
      最近更新 更多