![Zookeeper 发行版出现 GPG 错误:公钥已过时?](https://linux22.com/image/1552930/Zookeeper%20%E5%8F%91%E8%A1%8C%E7%89%88%E5%87%BA%E7%8E%B0%20GPG%20%E9%94%99%E8%AF%AF%EF%BC%9A%E5%85%AC%E9%92%A5%E5%B7%B2%E8%BF%87%E6%97%B6%EF%BC%9F.png)
请考虑以下输出:
+ gpg --keyserver ha.pool.sks-keyservers.net --recv-key C823E3E5B12AF29C67F81976F5CECB3CB5E9BD2D
gpg: keyring `/tmp/tmp.ZIIl4D5e52/secring.gpg' created
gpg: keyring `/tmp/tmp.ZIIl4D5e52/pubring.gpg' created
gpg: requesting key B5E9BD2D from hkp server ha.pool.sks-keyservers.net
gpg: /tmp/tmp.ZIIl4D5e52/trustdb.gpg: trustdb created
gpg: key B5E9BD2D: public key "Rakesh Radhakrishnan (CODE SIGNING KEY) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
+ gpg --batch --verify zookeeper-3.4.11.tar.gz.asc zookeeper-3.4.11.tar.gz
gpg: Signature made Wed Nov 1 18:56:29 2017 UTC using DSA key ID 68E327C1
gpg: Can't check signature: public key not found
它是否说,我有密钥 ID B5E9BD2D
,但需要的是密钥 ID 68E327C1
?
该怎么办?
答案1
看起来新版本已由其他人签名;请参阅 dist.apache.org/repos/dist/release/zookeeper/KEYS。现在可以正常工作了。