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

Ubuntu 24.04 : Signature by key uses weak algorithm #2139

Closed
admike82 opened this issue May 25, 2024 · 8 comments
Closed

Ubuntu 24.04 : Signature by key uses weak algorithm #2139

admike82 opened this issue May 25, 2024 · 8 comments

Comments

@admike82
Copy link

admike82 commented May 25, 2024

Hi,
when i do "sudo apt update", i have this message :

w: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/noble/InRelease: Signature by key 14AA40EC0831756756D7F66C4F4EA0AAE5267A6C uses weak algorithm (rsa1024)

Have a good day

@oerdnj
Copy link
Owner

oerdnj commented May 26, 2024

#1429

@oerdnj oerdnj closed this as completed May 26, 2024
@workmailrahul
Copy link

Got the same issue

@pausasilva
Copy link

pausasilva commented Jul 9, 2024

Does anyone solved this problem or know how to solve it?

@kodmanyagha
Copy link

sudo nano /etc/apt/apt.conf.d/99weakkey-warning

Paste this to here:

APT::Key::Assert-Pubkey-Algo ">=rsa1024";

Source: sabnzbd/sabnzbd#2845

@pausasilva
Copy link

Thank you so much @kodmanyagha , its helpeds me a lot.

@bfontaine
Copy link

@pausasilva it does not solve the issue; it just makes the warning disappear.

@blakethepatton
Copy link

blakethepatton commented Aug 28, 2024

Fixed the warning on my system by removing and re-adding the ppa.

sudo add-apt-repository --remove ppa:ondrej/php
sudo add-apt-repository ppa:ondrej/php

Your ppa name may vary as you might have the nginx or apache or gearman version.

This is based on what Guruprasad (lgp171188) said over on launchpads support forum.

All the affected Launchpad PPAs have been signed with a more secure key and Launchpad now serve that key. So for fixing this issue for PPAs already added to a system, just remove and re-add them.

@abs2310
Copy link

abs2310 commented Oct 8, 2024

Thanks @blakethepatton your solution helped to remove and re-add the repo.

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

8 participants