Summary: | kleopatra crached when changing certificate trust level | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | Martin Pluskal <martin> |
Component: | general | Assignee: | Andre Heinecke <aheinecke> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aheinecke, mutz |
Priority: | NOR | Keywords: | drkonqi |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Pluskal
2014-05-19 11:01:50 UTC
I can reproduce this. The problem here is that changing the ownertrust triggers a reload of the openpgp keys. During this keylisting key()->protocol() returns Unknown Protocol. If you try to change the ownertrust of a key with unkown protocol kleo crashes as it does not find the backend. Quick fix would be to treat Unknown Protocol as OpenPGP in the changeownertrust command. But I don't yet understand why starting a listallkeysjob causes already loaded keys to return unknown protocol and I would rather fix that. I can no longer reproduce this with current (3.0) kleopatra and an up to date stack. |