Bug 373909 - Cannot change imported private keys' owner trust to ultimate (own key)
Summary: Cannot change imported private keys' owner trust to ultimate (own key)
Status: RESOLVED FIXED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 16.12
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
: 393474 395665 401099 403841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-19 19:50 UTC by Guo Yunhe
Modified: 2019-02-01 19:16 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 18.04.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2016-12-19 19:50:03 UTC
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.
Comment 1 Rolf Eike Beer 2017-02-11 20:30:26 UTC
KGpg comes into an endless loop, as GnuPG keeps asking the same questions over and over again.
Comment 2 Rolf Eike Beer 2018-04-26 19:57:21 UTC
*** Bug 393474 has been marked as a duplicate of this bug. ***
Comment 3 Kavinda 2018-04-30 22:18:54 UTC
I have submitted a patch for this. https://phabricator.kde.org/D12624
Comment 4 Rolf Eike Beer 2018-05-07 19:54:23 UTC
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
Comment 5 Andrius Štikonas 2018-06-20 20:14:13 UTC
*** Bug 395665 has been marked as a duplicate of this bug. ***
Comment 6 Rolf Eike Beer 2018-11-23 07:19:49 UTC
*** Bug 401099 has been marked as a duplicate of this bug. ***
Comment 7 Rolf Eike Beer 2019-02-01 19:16:10 UTC
*** Bug 403841 has been marked as a duplicate of this bug. ***