我正在尝试撤销Ubuntu 密钥服务器。我已将撤销证书导入我的 GPG 钥匙串,并已将gpg --keyserver http://keyserver.ubuntu.com --send-key 990CB34A4ACE560F344A89C169EA6ECD0331911A
撤销的密钥发送到服务器。
密钥ID为990CB34A4ACE560F344A89C169EA6ECD0331911A
(如上所述),ASCII装甲格式的撤销证书如下:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQI2BCABCAAgFiEEmQyzSkrOVg80SonBaepuzQMxkRoFAl+6sqQCHQEACgkQaepu
zQMxkRoKZRAAjzCKKY8qMH5ulLHaY5OJRBIDL0eVjYY71sMrBo41InsEUVhY+ZTg
xuUW8DnaTRurkHlwdPVOMUnYcYP5JXTJ5MfKMkx4bB/q6juCr4Sbm5f2s/adTcYJ
UbpK1J/g5SbrjTxl4vWX1s03c2I69Hb4PDpuU7Qx8AWgMK7uOBNYJ3cV0VQDHCHh
ZzaeHNEf9n1QnNqBM65Qzz6TQeWKYJ6E0RIoBoYMxsSyA11t/DWX/nRZ954s0SDM
iUF0lvMOThlUSOVP3MkVBz+MEk8QhdjWor6N6Z/d20rl8GIVgvSUQRv6ze3EQgNz
cZSvxVSuKT/0m485hi8S6x5O35v13/FbKGHDNATyRP/anKd7dlaoBMcP/4EW01Sz
DcmqHFr53pgrvQa+v2aJOx6wh8r1V46rRe7EgMjA8WdLciPrIfYxBK/P1vAtXmPd
OnePkM16b92xG2OfL4DSGeveHWuxgbv/+0q89BZ2G8+QlQwJsSgJ8fMVQNyKzERJ
BkvZHn/d3K2DYU8DGEs/zuihUyVqyMu8TqWg8KrM935WY9wgxC6ETdgfSeaFCqbD
Ksdu37ic94tUBf55OvOtHDRbK1rsxz1DaHmB1pxCrNUjv/spmx6/OQg/fy2000CL
g3y6zYxsoiFqqeD+cxu0AbZnJOMVO+AECGNW3tc0ROsBCyTOIp7WlGc=
=D8BO
-----END PGP PUBLIC KEY BLOCK-----
我尝试发送密钥多次,但当我在互联网浏览器中刷新密钥服务器的密钥结果页面时,没有任何迹象表明密钥已被成功撤销。
答案1
您是否尝试过先将吊销证书导入到 gpg 密钥环?您可以使用以下方法执行此操作:
echo -n "-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQI2BCABCAAgFiEEmQyzSkrOVg80SonBaepuzQMxkRoFAl+6sqQCHQEACgkQaepu
zQMxkRoKZRAAjzCKKY8qMH5ulLHaY5OJRBIDL0eVjYY71sMrBo41InsEUVhY+ZTg
xuUW8DnaTRurkHlwdPVOMUnYcYP5JXTJ5MfKMkx4bB/q6juCr4Sbm5f2s/adTcYJ
UbpK1J/g5SbrjTxl4vWX1s03c2I69Hb4PDpuU7Qx8AWgMK7uOBNYJ3cV0VQDHCHh
ZzaeHNEf9n1QnNqBM65Qzz6TQeWKYJ6E0RIoBoYMxsSyA11t/DWX/nRZ954s0SDM
iUF0lvMOThlUSOVP3MkVBz+MEk8QhdjWor6N6Z/d20rl8GIVgvSUQRv6ze3EQgNz
cZSvxVSuKT/0m485hi8S6x5O35v13/FbKGHDNATyRP/anKd7dlaoBMcP/4EW01Sz
DcmqHFr53pgrvQa+v2aJOx6wh8r1V46rRe7EgMjA8WdLciPrIfYxBK/P1vAtXmPd
OnePkM16b92xG2OfL4DSGeveHWuxgbv/+0q89BZ2G8+QlQwJsSgJ8fMVQNyKzERJ
BkvZHn/d3K2DYU8DGEs/zuihUyVqyMu8TqWg8KrM935WY9wgxC6ETdgfSeaFCqbD
Ksdu37ic94tUBf55OvOtHDRbK1rsxz1DaHmB1pxCrNUjv/spmx6/OQg/fy2000CL
g3y6zYxsoiFqqeD+cxu0AbZnJOMVO+AECGNW3tc0ROsBCyTOIp7WlGc=
=D8BO
-----END PGP PUBLIC KEY BLOCK-----" | gpg --import -
导入撤销后,您可以使用以下方式检查证书:
gpg -k
您将[revoked 00/00/0000]
在撤销的公钥中获得一个标签。此后,您需要再次导出公钥并将其上传到 pgp 密钥服务器。
巴西雷亚尔