通过命令查询一个人的 GPG 公钥:
gpg --keyserver hkp://pool.sks-keyservers.net:80 --search-keys 0x94CBAFDD30345109561835AA0B7F8B60E3EDFAE3
得到结果:
gpg: data source: http://209.244.105.201:80
(1) Kristian Fiskerstrand <[email protected]>
Kristian Fiskerstrand <[email protected]>
Kristian Fiskerstrand <[email protected]>
Kristian Fiskerstrand <[email protected]>
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