通过命令查询一个人的 GPG 公钥:
gpg --keyserver hkp://pool.sks-keyservers.net:80 --search-keys 0x94CBAFDD30345109561835AA0B7F8B60E3EDFAE3
得到结果:
gpg: data source: http://209.244.105.201:80
(1) Kristian Fiskerstrand <kf@gnupg.net>
Kristian Fiskerstrand <k_f@gentoo.org>
Kristian Fiskerstrand <kf@sumptuouscapital.com>
Kristian Fiskerstrand <kristian.fiskerstrand@sumptuouscapital.com>
4096 bit RSA key 0B7F8B60E3EDFAE3, 创建于:2007-12-15, 有效至:2019-12-31 (已过期)
请问如何在 GPG 公钥中设置多组个人信息(姓名+电子邮件)?设置自己公钥的时候不是只让设置一次姓名和电子邮件吗?
gpg (GnuPG) 2.2.4
libgcrypt 1.8.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/user/.gnupg
支持的算法:
公钥:RSA, ELG, DSA, ECDH, ECDSA, EDDSA
密文:IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
散列:SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
压缩: 不压缩, ZIP, ZLIB, BZIP2
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.