我有指纹71A3 B167 3540 5025 D447 E8F2 7481 0B01 2346 C9A6
,我想下载公钥来验证存档。我想从终端下载密钥,并尝试使用该命令:
gpg --search-keys "71A3 B167 3540 5025 D447 E8F2 7481 0B01 2346 C9A6"
我得到了这个结果
gpg: data source: https://keys.openpgp.org:443
(1) 2048 bit RSA key 74810B012346C9A6, created: 2011-08-24
Keys 1-1 of 1 for "71A3 B167 3540 5025 D447 E8F2 7481 0B01 2346 C9A6".
Enter number(s), N)ext, or Q)uit > n
然后我使用recv-key
gpg --recv-key 74810B012346C9A6
结果:
gpg: key 74810B012346C9A6: new key but contains no user ID - skipped
gpg: Total number processed: 1
gpg: w/o user IDs: 1
我做了一些研究,然后再次尝试:
gpg --keyserver keyserver.ubuntu.com --recv 74810B012346C9A6
结果:
gpg: key 74810B012346C9A6: public key "Wladimir J. van der Laan <laanwj@visucore.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
使用命令 list-keys 我可以看到结果: gpg --list-keys
pub rsa2048 2011-08-24 [SC] [expires: 2022-02-10]
71A3B16735405025D447E8F274810B012346C9A6
uid [ unknown] Wladimir J. van der Laan <laanwj@visucore.com>
uid [ unknown] Wladimir J. van der Laan <laanwj@gmail.com>
uid [ unknown] Wladimir J. van der Laan <laanwj@protonmail.com>
sub rsa2048 2017-05-17 [S] [expires: 2022-02-10]
sub rsa2048 2017-05-17 [A] [expires: 2022-02-10]
sub rsa2048 2011-08-24 [E]
现在,我尝试进行验证
gpg --verify SHA256SUMS.asc
结果:
gpg: Signature made Sun Nov 24 10:14:42 2019 CET
gpg: using RSA key 90C8019E36C2E964
gpg: Can't check signature: No public key
我试图下载公钥形式https://bitcoin.org/en/full-node#mac-os-x-yosemite-1010x和https://keys.openpgp.org(带指纹)但我得到不同的值.