我正在将我的 OpenPGP 密钥添加到 Launchpad,我刚刚将其上传到 Ubuntu 的密钥服务器。现在,只有当密钥通过密钥服务器可用时,我才能继续。有没有办法检查是否已经如此?
答案1
命令行方式:
跑步:
gpg --keyserver hkp://keyserver.ubuntu.com --search-key '[email protected]'
图形方式:
跑步
seahorse
(密码和加密密钥), 打查找远程密钥...按钮,在搜索栏中输入你的密钥ID,最后只选择Ubuntu密钥服务器:
答案2
仅通过以下方式检查keyIDs
:
gpg -i --batch --keyserver <keyserver> --recv-keys <keyIDs>
--keyserver <keyserver> => This is the server that gpg communicates with to receive keys, send keys, and search for keys
--recv-keys <keyIDs> => Import the keys with the given keyIDs from a keyserver.
--batch => Don’t invoke a pinentry or do any other thing requiring human interaction.
-i => Asks before importing key.