Bug 2464087
| Summary: | DNF for verifying repositories and RPM for verifying packages use different OpenPGP database | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral (Red Hat) <kparal> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 44 | CC: | daniel.mach, jmracek, jrohel, mblaha, packaging-team-maint, pkratoch, ppisar, rpm-software-management |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-04-30 11:28:47 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: | |||
|
Description
Kamil Páral (Red Hat)
2026-04-30 11:14:52 UTC
Do you use DNF4 or DNF5? Nonetheless, you observation is correct: For verifying repositories (repo_gpgcheck=1) DNF(5) uses it own keyring. Contrary, for verifying packages (gpgcheck=1) DNF(5) uses RPM keyring. That's nothing new and I believe there are good reasons for it. One of them is that a nonsuperuser might want to search a repository with repo_gpgcheck=1 set. Such a user, naturally, does not have write access to RPM keyring. If DNF(5) only used RPM keyring, this use would be impossible. (In reply to Petr Pisar from comment #1) > Do you use DNF4 or DNF5? DNF5. > Nonetheless, you observation is correct: For verifying repositories > (repo_gpgcheck=1) DNF(5) uses it own keyring. > Contrary, for verifying packages (gpgcheck=1) DNF(5) uses RPM keyring. Hmm, OK. We're trying to figure out bug 2463519 and this confused me a lot - I believed it might play a part in those issues. |