无法将公钥上传到密钥服务器。 Maven中央仓库上传失败

问题描述 投票:0回答:1

我试图将我的回购发布到maven central repo。我上传了我的公钥给:

  1. http://keys.gnupg.net
  2. hkp://keyserver.ubuntu.com
  3. HKP://pool.sks-keyservers.net

我甚至可以使用gpg接收他们的回复--keyserver hkp://keyserver.ubuntu.com --recv-keys XXXXXXXX

但是当将repo上传到maven staging时,我收到的误差低于此值

No public key: Key with id: (XXXXXXXXXXXXXX)was not able to be located on <a href=http://keyserver.ubuntu.com:11371/>http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.[ERROR]     * No public key: Key with id: (XXXXXXXXXXXXXX) was not able to be located on <a href=http://keys.gnupg.net:11371/>http://keys.gnupg.net:11371/</a>. Upload your public key and try the operation again.

我不确定这是什么错误。任何帮助,将不胜感激。

我正在从Windows 10上传公钥。

gnupg sonatype gpg-signature
1个回答
0
投票

卸载并重新安装gpg4win应用程序就可以了。

© www.soinside.com 2019 - 2024. All rights reserved.