Bug 440060
| Summary: | Authorization to require must depend on whether package is signed by a trusted key | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Zeuthen <davidz> |
| Component: | PackageKit | Assignee: | Robin Norwood <robin.norwood> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | CC: | mclasen, rhughes, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-09-17 08:45: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: | |||
|
Description
David Zeuthen
2008-04-01 15:31:02 UTC
Is this different from the install-local vs install distinction we already make ? Or should it replace that one ? How would packagekit know the packages are signed before the transaction is being run? at the moment we ask for auth before we start the action, and don't know they are signed until we get a callback from rpm. (In reply to comment #2) > How would packagekit know the packages are signed before the transaction is > being run? at the moment we ask for auth before we start the action, and don't > know they are signed until we get a callback from rpm. But that's "only" a problem with how PackageKit/yum/rpm currently works (note I didn't say it was easy to solve). So that would need to be fixed - which I why I haven't marked this as F9Target or F9Blocker but it needs to be fixed for F10. Probably one solution is a heuristic per repository saying e.g. "packages from this repo are all signed by this key". Which means you can find out early what authorization is needed. Now, you need to verify this as well before carrying out the transaction. Which means checking authorizations a second time and possibly prompting the user with a password dialog. If the user fails to gain the authorization you abort the transaction. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I think we've got this pretty much nailed in rawhide -- see http://www.packagekit.org/gtk-doc/introduction-ideas-transactions.html for docs. |