Adicione a chave gpg:
gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
Verifique a impressão digital:
gpg --fingerprint 7D8D0BF6
Exemplo de saída:
pub rsa4096 2012-03-05 [SC] [expires: 2021-02-03]
44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6
uid [ unknown] Kali Linux Repository <[email protected]>
sub rsa4096 2012-03-05 [E] [expires: 2021-02-03]
então:
gpg -a --export 7D8D0BF6 | apt-key add -
apt update
atualização: 8 de fevereiro de 2018.
Resposta da documentação oficial :
Note that if you haven’t updated your Kali installation in some time (tsk2), you will like receive a GPG error about the repository key being expired (
ED444FF07D8D0BF6
). Fortunately, this issue is quickly resolved by running the following as root:
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add