Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1500533 - DNF installs packages without verifying signatures
Summary: DNF installs packages without verifying signatures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-10 20:59 UTC by Michael Kuhn
Modified: 2017-10-17 00:15 UTC (History)
11 users (show)

Fixed In Version: rpm-4.14.0-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-17 00:15:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Kuhn 2017-10-10 20:59:35 UTC
Description of problem:
I am also filing this here because I think this might be a security problem. On a freshly installed Fedora 27 system, DNF installs packages without having an appropriate key installed. This seems to be due to a bug in RPM, please see: https://github.com/rpm-software-management/rpm/issues/330

Version-Release number of selected component (if applicable):
dnf.noarch  2.7.3-1.fc27         @updates-testing
rpm.x86_64  4.14.0-0.rc2.3.fc27  @updates-testing

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 27 (beta)
2. dnf install $package

Actual results:
DNF installs the package without prompting to import the key

Expected results:
DNF only installs the package if the appropriate key is imported first

Comment 1 Panu Matilainen 2017-10-11 13:53:55 UTC
This is a bug (regression) in rpm, switching component.

Comment 2 Panu Matilainen 2017-10-11 13:58:20 UTC
Fixed upstream: https://github.com/rpm-software-management/rpm/commit/e6c88eaeab3661f5fb180b970cafba233bcd999a

Will fix Fedora tomorrowish.

Comment 3 Fedora Update System 2017-10-12 14:33:01 UTC
rpm-4.14.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0d1c2f84a4

Comment 4 Fedora Update System 2017-10-13 06:25:24 UTC
rpm-4.14.0-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0d1c2f84a4

Comment 5 Fedora Update System 2017-10-17 00:15:35 UTC
rpm-4.14.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, 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.