GPG error: http://packages.cloud.google.com/apt EXPKEYSIG 3746C208A7317B0F

Dwight Lyle picture Dwight Lyle · Mar 31, 2018 · Viewed 11.3k times · Source

I get the following error when running sudo apt update on Debian.

GPG error: http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease:
The following signatures were invalid: EXPKEYSIG 3746C208A7317B0F

Answer

Dwight Lyle picture Dwight Lyle · Mar 31, 2018

This is a known issue.

https://cloud.google.com/compute/docs/troubleshooting/known-issues#keyexpired

Run the following command to obtain the latest key:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -