Bug 377645 - rfe: support for installing packages with no or unknown keys
Summary: rfe: support for installing packages with no or unknown keys
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.9.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-15 14:31 UTC by Rex Dieter
Modified: 2020-11-06 13:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
discover error msg (27.89 KB, image/png)
2017-03-20 12:31 UTC, Rex Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Dieter 2017-03-15 14:31:24 UTC
Currently, if one tries install a local/downloaded rpm package signed with an unknown key, discover won't install it and gives notice/error saying so.

In contrast, gnome-software (and apper I believe) gives a similar warning, but then has the ability to escalate polkit privilege to install it anyway.  I'd like to see discover do similar as well.
Comment 1 Aleix Pol 2017-03-17 17:06:13 UTC
Hi Rex, thanks for the request!
Can you tell me which error message you get?
It would be useful if you can tell me the message you get on the UI as well as on the stdout/err.
Comment 2 Rex Dieter 2017-03-20 12:30:12 UTC
The error message is: "Bad GPG signature found", I'll post a screenshot too
Comment 3 Rex Dieter 2017-03-20 12:31:19 UTC
Created attachment 104652 [details]
discover error msg
Comment 4 Aleix Pol 2017-11-28 18:57:43 UTC
Git commit c17feb9f77b5648cb7f91c5f3af48023bf47bcbc by Aleix Pol.
Committed on 28/11/2017 at 18:51.
Pushed by apol into branch 'master'.

PackageKit: Make it possible to add new signatures in response to the error
Related: bug 386935

M  +14   -0    libdiscover/backends/PackageKitBackend/PKTransaction.cpp
M  +8    -0    libdiscover/backends/PackageKitBackend/PKTransaction.h
M  +14   -0    libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
M  +8    -0    libdiscover/backends/PackageKitBackend/PackageKitUpdater.h

https://commits.kde.org/discover/c17feb9f77b5648cb7f91c5f3af48023bf47bcbc
Comment 5 Briggs 2019-12-24 12:53:22 UTC
I get this issue on a fresh install of Fedora 31 KDE
Comment 6 goo 2020-03-14 05:03:54 UTC
(In reply to Briggs from comment #5)
> I get this issue on a fresh install of Fedora 31 KDE

Still same issue here on Discover 5.18.3 (fedora 31)...
Comment 7 Christoph Feck 2020-04-09 21:57:33 UTC
I suggest to report a new ticket with exact error messages.
Comment 8 turgut kalfaoglu 2020-11-06 13:28:29 UTC
Fedora 33 -- the same issue continues. Cannot install downloaded RPM's.