I'm facing a similar problem. I just installed Kali WSL and I'm unable to update/upgrade it due an error with an expired key.
I tried to update the key, but I can't because the GNUPG isn't installed, then I tried to install GNUPG, but it broke the system (I had to reinstall it).
Do anybody know how to bypass this issue?
root@host:/# cat /etc/issue
Kali GNU/Linux Rolling \n \l
root@host:/# apt-get update
Get:1
http://mirror.pwnieexpress.com/kali kali-rolling InRelease [30.5 kB]
Err:1
http://mirror.pwnieexpress.com/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <
[email protected]>
Fetched 30.5 kB in 5s (6490 B/s)
Reading package lists... Done
W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:
http://mirror.pwnieexpress.com/kali kali-rolling InRelease: The following signatures
were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <
[email protected]>
W: Failed to fetch
http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <
[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@host:/# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
and then, if I execute the following, my system get broken:
root@host:/# apt-get install gnupg
Any ideas?