3

当我在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。

4

1 回答 1

2

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.

于 2019-12-19T11:06:37.557 回答