0

gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51

上面的命令没有从 Keyserver 获取密钥。

错误:在密钥服务器上找不到密钥“4911A8DFE976ACDFA07130DBE8372C0C1C734C51”

4

1 回答 1

0

密钥服务器似乎发生了一些奇怪的事情。这曾经可靠地工作,但刚才我不得不尝试 5 次才能获得密钥。

$ ls -a    
.  ..
$ mkdir gpg
$ gpg --homedir gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
gpg: WARNING: unsafe permissions on homedir '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg'
gpg: keybox '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg/pubring.kbx' created
gpg: data source: http://pgp.key-server.io:11371
gpg: key "4911A8DFE976ACDFA07130DBE8372C0C1C734C51" not found on keyserver
gpg: keyserver search failed: Not found
$ gpg --homedir gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
gpg: WARNING: unsafe permissions on homedir '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg'
gpg: data source: http://pgp.key-server.io:11371
gpg: key "4911A8DFE976ACDFA07130DBE8372C0C1C734C51" not found on keyserver
gpg: keyserver search failed: Not found
$ gpg --homedir gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
gpg: WARNING: unsafe permissions on homedir '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg'
gpg: data source: http://pgp.key-server.io:11371
gpg: key "4911A8DFE976ACDFA07130DBE8372C0C1C734C51" not found on keyserver
gpg: keyserver search failed: Not found
$ gpg --homedir gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
gpg: WARNING: unsafe permissions on homedir '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg'
gpg: data source: http://pgp.key-server.io:11371
gpg: key "4911A8DFE976ACDFA07130DBE8372C0C1C734C51" not found on keyserver
gpg: keyserver search failed: Not found
$ gpg --homedir gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
gpg: WARNING: unsafe permissions on homedir '/private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg'
gpg: data source: http://pgp.key-server.io:11371
(1)     Digital Asset Holdings, LLC <security@digitalasset.com>
          2048 bit RSA key E8372C0C1C734C51, created: 2019-05-16, expires: 2021-05-15
Keys 1-1 of 1 for "4911A8DFE976ACDFA07130DBE8372C0C1C734C51".  Enter number(s), N)ext, or Q)uit > 1
gpg: /private/var/folders/fr/hnsktbhj611cbgfj6thp_jcr0000gn/T/tmp.HN9B7i113l/gpg/trustdb.gpg: trustdb created
gpg: key E8372C0C1C734C51: public key "Digital Asset Holdings, LLC <security@digitalasset.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
$ 

(使用空白 homedir 以确保不受现有配置的干扰)

我建议现在重试。

于 2019-11-02T09:25:42.383 回答