gnupg - OpenPGPkeyserver 提交 OpenPGP 公钥后未找到密钥
问题描述
当我在http://hkps.pool.sks-keyservers.net/提交新密钥时,它返回 200 OK 和以下正文:
1 key(s) added successfully.
Key block added to key server database.
New public keys added:
但是,我不确定密钥是否已成功添加,因为后面没有列出任何内容New public keys added:
事实上,在那之后,当我尝试在 OpenPGPkeyserver 中搜索密钥时,它会返回No results found: No keys found
此外,当我使用以下命令通过命令行按下键时,我无法弄清楚服务器的响应是什么:
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys B34A93B1
输出很简单:
gpg: sending key B34A93B1 to hkp://pool.sks-keyservers.net
我正在使用 gpg (GnuPG) 2.2.17 libgcrypt 1.8.4。
解决方案
The answer to my question: OpenPGPkeyserver No keys found after Submit OpenPGP Public Key
is related with a wrong value passed to the search
query parameter on url
:
http://hkps.pool.sks-keyservers.net/pks/lookup?search=***KEY-ID***&fingerprint=on&op=index
Here the ***KEY-ID***
should include the prefix 0x....
otherwise it will not find the public key.
Nevertheless I am still confused about the returned message when we submit a new key since no clear information is given after :
. Just returning New public keys added:
and nothing is quite ambiguous.
推荐阅读
- extbase - Extbase:命令控制器未注册
- maven - 使用特定文件中的 maven 命令从功能文件运行多个场景 - cucumber
- node.js - 我的节点服务器在网站的桌面视图上工作,但不是在移动设备上工作。节点 AWS EC2 Express
- qt - gstreamer-视频上的透明QWidget覆盖
- javascript - 拖放发布多个文件
- c# - 根据所选国家/地区填充状态下拉列表
- python - 为什么这个 DeepSpeech python 程序的结果与我从命令行界面得到的结果不同?
- c# - 有限缩放 Azure 函数
- java - Mockito 显示 0 次与 mock 的交互
- html - 在烧瓶上发送一个绘图图