-
Notifications
You must be signed in to change notification settings - Fork 21
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 #83
Comments
Same issue. |
https://apt.corretto.aws/corretto.key also is expired. Right now downloading gives me Amazon Services LLC Public Key |
@speedj, I'm sorry you are experiencing this. The following command will download the key from the supplied URL and print its expiration date. You should be able to run it yourself and see the same expiration expiration date. Note that I ran this command on a Linux system; it may not work on others.
|
@synecdoche you are right. |
working fix for my case
|
Ideally needed a one liner that would work for docker builds, where I didn't have wget already on the image. |
correto image has not curl, wget and so on, before apt update you have to install it otherwise apt update try to fetch correto key and it will give you error. my solution is:
|
So I downloaded the apt key and tried to download the yum key, and still getting an error when doing "zypper ref". The actual error is below. I also tried an rpm --import https://apt.corretto.aws/corretto.key and https://yum.corretto.aws/corretto.key and opening up kleopatra to view my gpg keychain and root's keychain, i see that the cert is in there to expire on 2029.
|
Thanks for contacting us about this. Which system or docker image are you testing this on, and how is the corretto repository configured? I was unable to reproduce the issue on |
This is my desktop machine running SuSE Leap 15.6. I completely removed the Amazon Corretto repo. Did a "zypper clean -a". Ran "zypper ref" (no warning). Ran the command copy-paste from the link that you sent to add the repository. "zypper ref" shows the expired signature warning as noted above. |
Still unable to reproduce, complete output below. If you remove the corretto repository from your system and run
|
So the only difference is that you're doing it on a fresh image, not on a previously installed system which may have had the old gpg key installed. I had to uninstall the old key using rpmkeys: Note the old key that gives you a warning as noted above, then see the last line: "Rpm Name: gpg-pubkey-b04f24e3-5de94a19"
|
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:
You may have an expired repository public key cached on your system. To fix this, please run the following command to update the key:
For systems using apt <= 2.4, use the following command instead:
The text was updated successfully, but these errors were encountered: