`expired GPG key` Error in build


If you are using a CircleCI pre-built Docker Image and are getting a `Expired GPG key` error in your build. You can resolve this issue by simply upgrading to a newer version of the image you are using. 

You can identify and validate that there are expired gpg keys in your container by running `sudo apt-key list | grep "expired:" `

If you are using a custom image you can upgrade your gpg keys with:

`apt-key adv --keyserver keys.gnupg.net --recv-keys KEY_ID`

You will need to run this command with the KEY_ID of the expired key(s)



Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.