W: GPG error: http://http.kali `enter code here`.org kali Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
*This is the result i receive after trying to update the signature* "Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.aOUagKwz1w --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg --keyserver http://http.kali .org --recv-keys ED444FF07D8D0BF6
gpg: requesting key 7D8D0BF6 from http server http.kali .org
gpgkeys: no key data found for http://http.kali. org/
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0 "
答案1
首先更新签名:
sudo apt-key adv --keyserver http://http.kali.org --recv-keys ED444FF07D8D0BF6
,
然后重建您的软件缓存:
cd /var/lib/apt sudo mv lists lists.old sudo mkdir -p lists/partial sudo apt-get update
。
答案2
缺少一些密钥来验证您的数据包。如果没有它们,中间人攻击者就可以修改您下载的软件包以将木马注入您的计算机。
密钥可以从密钥服务器下载。他们使用棘手的协议,无法通过这种方式进行黑客攻击。
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6