[Bug 2077162] Re: [FFe/SRU] add-apt-repository --refresh-keys
Launchpad Bug Tracker
2077162 at bugs.launchpad.net
Tue Aug 20 19:54:13 UTC 2024
This bug was fixed in the package software-properties - 0.101
---------------
software-properties (0.101) oracular; urgency=medium
* Revert "ppa: Cache the launchpad objects across objects"
* Cache Launchpad objects in add-apt-repository --refresh-keys
-- Julian Andres Klode <juliank at ubuntu.com> Tue, 20 Aug 2024 18:19:17
+0200
** Changed in: software-properties (Ubuntu Oracular)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2077162
Title:
[FFe/SRU] add-apt-repository --refresh-keys
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Focal:
New
Status in software-properties source package in Jammy:
New
Status in software-properties source package in Noble:
New
Status in software-properties source package in Oracular:
Fix Released
Bug description:
[Impact]
We want to provide an easy tool to allow users to refresh signing keys. This feature works for both deb822 sources and classic sources.
[Test plan]
For all releases (using the default sources.list format, i.e. adding
the PPA using add-apt-repository):
1. Add a weak PPA, ensure its key is refreshed.
2. Add a weak private PPA and ensure that it does not fail the process, then retry with --login, ensure we only see one login request.
3. Ensure non-PPA repositories are notified about as not being refreshable
4. Ensure key files not refreshable via PPA mechanism are notified
For 24.04:
A. Add a weak PPA as a .list, ensure its key is refreshed.
B. Add a superflous key for a deb822 source with Signed-By and observe key file deletion.
[Where problems could occur]
The new feature could not work in all cases. It is luckily self contained in one (too) large function
The launchpad login caching could possibly cause some problems, there
may be bugs there, but our test plan checks for both non-login and
login cases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2077162/+subscriptions
More information about the foundations-bugs
mailing list