Bug 2439694
| Summary: | GNOME Software prompts to import GPG key on first launch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lpavan | ||||
| Component: | gnome-software | Assignee: | Milan Crha <mcrha> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 44 | CC: | franute, gnome-sig, jonathan, mcatanza, mcrha, pkratoch, ppisar, rhughes, rpm-software-management | ||||
| Target Milestone: | --- | Keywords: | Desktop, Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gnome-software-50~beta-6 | Doc Type: | --- | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2026-02-16 12:29:55 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
lpavan
2026-02-13 15:17:45 UTC
Created attachment 2129370 [details]
GNOME Software asking to import a key
The problem is that the dnf5 daemon reports the key coming 'from_repo_id': <'8791fdcd77de4fc7889843ec6b74d21c'> , while it cannot find this repository, because it does not exist any more. It remembers it is installed from `@System` repository. When the keys are updated later on, like when moving from one version to another, the information can be more "accurate". In a rawhide machine I've here it says: 'from_repo_id': <'rawhide'> , and there exists such repository. It seems I cannot configure an `@System` repository myself, thus I guess I can treat such repos as "fine to import the key from" and auto-accept key import requests for keys from such repositories. Unfortunately, packages installed from command line identify "from_repo_id" as "@commandline" and the "repo_id" as "@System", thus checking only the repo_id on its own won't work well for the heuristic. I do not see any better way than to accept "@System" only if not being "@commandline" at the same time. It can be extended in the future, if needed. Fixed/changed by https://gitlab.gnome.org/mcrha/gnome-software/-/commit/8023c8ca81d81640fd00ed587c4bed6f52391bcd , to be included in the next build. *** Bug 2439688 has been marked as a duplicate of this bug. *** |