Bug 1448164
Summary: | [RFE] shift gpg sig check code into shared library | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pat Riehecky <riehecky> |
Component: | dnf | Assignee: | Jaroslav Rohel <jrohel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | chuck.wilson, mail, marmarek, mkolman, ngompa13, packaging-team-maint, pmatilai, rpm-software-management, vmukhame, vponcova |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-07-18 14:28: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: | 1665453, 1339617 |
Description
Pat Riehecky
2017-05-04 16:25:32 UTC
Thanks for the report, I'll follow up with Anaconda team. This would also be great for livecd-tools and appliance-tools, as I'd definitely prefer to be able to validate signatures if the user wanted to. There's also a PR for this waiting on DNF and pykickstart: https://github.com/livecd-tools/livecd-tools/pull/14 Hi, could you estimate when this bug will be fixed, please? We are considering to use the workaround in Anaconda for now. Hi, is there any update on this? Hi, is there any update on this? We don't have any estimate, but we definitely want to implement this during libdnf consolidation. Any progress on this? It's been nearly half a year since the last request on this, and I *still* would like to resolve this such that we can have GPG checking in livecd-tools, Anaconda, and Lorax. The GPG code is one of the libdnf parts we haven't touched yet during libdnf refactoring. The next item on the critical path is the Sack, because it's inconsistently used in libdnf (context) and dnf (Base) and is preventing us from sharing code and further progress in general. The GPG improvements will probably follow. We have prioritized this work into our current backlog. New code will be written in libdnf, exported via SWIG to Python and provided in DNF as a public API. dmach, jrohel, please keep me & ffesti in loop when starting working on this, it's the perfect opportunity to sanitize things. The existing code in dnf is inherited from yum and dates back to rhel-5 and rpm 4.4, lots of things have changed on rpm side since then. Any rough timeline when this functionality might be available in DNF shipped in Fedora ? There are already at least two PRs blocked by this & it would be good to see them move them forward or at least be able to put some timeline on them getting unblocked. :) The PRs in question: https://github.com/rhinstaller/anaconda/pull/375 https://github.com/livecd-tools/livecd-tools/pull/14 The functionality was already implemented see: base.package_signature_check(self, pkg): and package_import_key(pkg, askcb=None, fullaskcb=None). Methods were introduce in dnf-4.16.1. |