Bug 2391894

Summary: GNOME Software prompts for authentication when importing GPG keys
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: dnf5Assignee: Marek Blaha <mblaha>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: jonathan, pkratoch, ppisar, rpm-software-management
Target Milestone: ---Keywords: Reopened, RFE, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: openqa AcceptedFreezeException
Fixed In Version: dnf5-5.2.17.0-1.fc43 dnf5-5.2.17.0-1.fc42 dnf5-5.2.17.0-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-10 03:07:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2324224    

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.

Comment 10 Fedora Update System 2025-10-31 09:21:53 UTC
FEDORA-2025-3ffc7cce52 (dnf5-5.2.17.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ffc7cce52

Comment 11 Fedora Update System 2025-10-31 09:22:00 UTC
FEDORA-2025-d46e5baaa0 (dnf5-5.2.17.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d46e5baaa0

Comment 12 Fedora Update System 2025-11-01 03:24:58 UTC
FEDORA-2025-3ffc7cce52 has been pushed to the Fedora 42 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-3ffc7cce52`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ffc7cce52

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

Comment 13 Fedora Update System 2025-11-01 03:41:33 UTC
FEDORA-2025-d46e5baaa0 has been pushed to the Fedora 41 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-d46e5baaa0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d46e5baaa0

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

Comment 14 Fedora Update System 2025-11-04 04:55:32 UTC
FEDORA-2025-3ffc7cce52 (dnf5-5.2.17.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-11-04 05:13:39 UTC
FEDORA-2025-d46e5baaa0 (dnf5-5.2.17.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.