gpg --keyserver pgp.key-server.io --search 4911A8DFE976ACDFA07130DBE8372C0C1C734C51
以上命令未从密钥服务器获取密钥。
错误:在密钥服务器上找不到密钥“ 4911A8DFE976ACDFA07130DBE8372C0C1C734C51”
答案 0 :(得分: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来确保不会受到现有配置的干扰)
我建议暂时重试。