infosec4breakfast

Updating Kali's apt-get Keyring

It appears as though the Kali dev’s PGP key has expired, which makes apt-get error out since it cannot verify packages within this state, a fix is to simply update the key:

sudo apt-key adv –recv-keys –keyserver keys.gnupg.net 7D8D0BF6

The identifier at the end was the key in my case (which I’m assuming will be the same in yours), if not you can list your current keys using: apt-key list and you can use those that are distinguished as being expired.

Just thought I’d shoot this forward as I spent some time on this.

https://xkcd.com/1181