I recently installed Kali as my main Operating System and ran into a problem. Whenever I do, apt-get update a error is returned:
"W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive-10.kali.org/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <email@example.com>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <firstname.lastname@example.org>"
The question was, how do I fix this? Simple enough, you add the keys. Duh.
In order to add the keys we need a certain package, kali-archive-keyring2018.1all.deb
To get the deb file we use wget command.
The command is:
Now how do we install the package? We use dpkg command and the -i flag to install the package, like so:
dpkg -i kali-archive-keyring2018.1all.deb
And now finally do,
apt update && apt upgrade
I hope this will help anyone that ran into this issue.