Bug 2391894 - GNOME Software prompts for authentication when importing GPG keys
Summary: GNOME Software prompts for authentication when importing GPG keys
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 43
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Marek Blaha
QA Contact:
URL:
Whiteboard: openqa AcceptedFreezeException
Depends On:
Blocks: BetaFreezeException, F43BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2025-08-29 18:45 UTC by Adam Williamson
Modified: 2025-09-10 03:07 UTC (History)
4 users (show)

Fixed In Version: dnf5-5.2.17.0-1.fc43
Clone Of:
Environment:
Last Closed: 2025-09-10 03:07:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management dnf5 pull 2407 0 None Merged dnf5daemon-server: Allow RPM key import without password prompt for wheel users 2025-08-29 18:45:24 UTC

Description Adam Williamson 2025-08-29 18:45:02 UTC
As discussed upstream in https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2874 , with the dnf5 backend, GNOME Software shows various cryptic prompts about importing GPG keys when all you want to do is install updates.

Most of this is to be fixed in gnome-software, but one part of it is in dnf5: dnf5's polkit policy required wheel users to authenticate in order to import GPG keys, so we get an "Authentication Required" prompt. https://github.com/rpm-software-management/dnf5/pull/2407 changes that so wheel users can import GPG keys without authenticating.

Filing this bug to propose as a Beta FE, so we can hopefully get rid of these annoying prompts for the Beta release (and openQA would like to not get broken by them too).

Comment 1 Petr Pisar 2025-09-01 11:01:17 UTC
Do I understand correctly that you want to apply <https://github.com/rpm-software-management/dnf5/pull/2407> to Fedora 43?

Comment 2 Adam Williamson 2025-09-01 15:40:05 UTC
+5 in https://pagure.io/fedora-qa/blocker-review/issue/1891 , marking accepted FE.

Comment 3 Petr Pisar 2025-09-02 07:36:37 UTC
We will try to release a new DNF5 version with this fix included.

Comment 4 Fedora Update System 2025-09-02 11:55:14 UTC
FEDORA-2025-763e312d6a (dnf5-5.2.17.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-763e312d6a

Comment 5 Fedora Update System 2025-09-03 01:13:54 UTC
FEDORA-2025-763e312d6a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-763e312d6a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-763e312d6a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-09-07 12:29:14 UTC
FEDORA-2025-763e312d6a (dnf5-5.2.17.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Adam Williamson 2025-09-09 19:06:10 UTC
We're still getting prompts like this in current F43: https://openqa.fedoraproject.org/tests/3711625#step/desktop_update_graphical/24

I guess the revert to PK will 'fix' this, so I'll mark that update as fixing this bug.

Comment 8 Fedora Update System 2025-09-09 19:06:31 UTC
FEDORA-2025-7f21f13867 (gnome-software-49~rc-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7f21f13867

Comment 9 Fedora Update System 2025-09-10 03:07:37 UTC
FEDORA-2025-7f21f13867 (gnome-software-49~rc-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.