Steps to produce: 1. Generate a key pair on another machine. 2. Export private key with gpg --export-private-key [ID] > private.key 3. Import this private key to KGpg. 4. Edit key property, change owner trust to ultimate. 5. Click "OK" or "Apply". Result: KGpg cannot finish the task. And the status is always waiting until I force close it. KGpg will crash in the end.
KGpg comes into an endless loop, as GnuPG keeps asking the same questions over and over again.
*** Bug 393474 has been marked as a duplicate of this bug. ***
I have submitted a patch for this. https://phabricator.kde.org/D12624
Git commit 68fc9165947c054423ac600b11462294d56fa06e by Rolf Eike Beer, on behalf of Harindu Dilshan. Committed on 07/05/2018 at 19:45. Pushed by dakon into branch 'Applications/18.04'. Resolve KGpg crashing when setting trust level to ultimate KGpg with GnuPG 2.2 crashes when setting trust level of a imported key to ultimate. Related: bug 391499 Differential Revision: https://phabricator.kde.org/D12624 M +0 -9 transactions/kgpgchangedisable.cpp M +0 -1 transactions/kgpgchangedisable.h M +1 -3 transactions/kgpgdelkey.cpp M +0 -4 transactions/kgpgsignkey.cpp M +3 -2 transactions/kgpgtransactionprivate.cpp https://commits.kde.org/kgpg/68fc9165947c054423ac600b11462294d56fa06e
*** Bug 395665 has been marked as a duplicate of this bug. ***
*** Bug 401099 has been marked as a duplicate of this bug. ***
*** Bug 403841 has been marked as a duplicate of this bug. ***