Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corretto PGP Key Renewal Announcement #379

Open
benty-amzn opened this issue Dec 5, 2024 · 0 comments
Open

Corretto PGP Key Renewal Announcement #379

benty-amzn opened this issue Dec 5, 2024 · 0 comments

Comments

@benty-amzn
Copy link
Contributor

The Corretto PGP Public Key has been renewed on December 3, 2024. If you are using systems that use apt for package management and experience an error such as the following when updating packages:

Reading package lists... Done
W: GPG error: https://apt.corretto.aws/ stable InRelease: The following signatures were invalid: EXPKEYSIG A122542AB04F24E3 Amazon Services LLC (Amazon Corretto release) <[email protected]>
E: The repository 'https://apt.corretto.aws/ stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

You may have an expired repository public key cached on your system. To fix this, please run the following command to update the key:

sudo rm /usr/share/keyrings/corretto-keyring.gpg && wget -O - https://apt.corretto.aws/corretto.key | sudo gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && sudo apt update

For systems using apt <= 2.4, use the following command instead:

sudo apt-key del A122542AB04F24E3 && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A122542AB04F24E3
@benty-amzn benty-amzn pinned this issue Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant