上传GPG公钥时网络无法到达
我正在尝试上传我的GPG公钥,以便将我的Maven文物的发行释放到Maven Central。但是,当我运行以下命令时:
gpg --keyserver keyserver.ubuntu.com --send-keys E655AF47
我会收到以下错误:
gpg: sending key E655AF47 to hkp://keyserver.ubuntu.com
gpg: keyserver send failed: Network is unreachable
gpg: keyserver send failed: Network is unreachable
我在MacBook上使用GPG(GNUPG)2.3.6。
我在哪里出错?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来这些服务器不再允许这种机制...
首先,尝试明确指定
https
协议:如果也不起作用,则必须手动上传:
where where
gpg -list-signatures
命令提交密钥
按钮pbcopy
命令命令,然后将其验证https://keyserver.ubuntu.com/pks/lookup?search=0D6866D45122F4B762BBA078CA756566F2B91BC1&fingerprint=on&op = index
其中
0D6866D45122F4B762BBA078CA756565656566F2B91BC1
您的keyID
您也可以使用gpg-list-list-list-list-signatures
covels>Looks like these servers not permit such mechanism anymore...
First, try to specify
https
protocol explicitly:If that is also not working, then you must upload it manually:
where
[email protected]
you can find withgpg --list-signatures
commandSubmit Key
buttonpbcopy
command and submit ithttps://keyserver.ubuntu.com/pks/lookup?search=0D6866D45122F4B762BBA078CA756566F2B91BC1&fingerprint=on&op=index
where
0D6866D45122F4B762BBA078CA756566F2B91BC1
yourkeyid
, which you can also find withgpg --list-signatures
command