Bug 401099 - When trusting an imported secret key, KGpg fills all memory and swap space and never completes the operation
Summary: When trusting an imported secret key, KGpg fills all memory and swap space a...
Status: RESOLVED DUPLICATE of bug 373909
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 10:27 UTC by Marcell Fulop
Modified: 2018-11-23 07:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcell Fulop 2018-11-16 10:27:44 UTC
SUMMARY

KGpg version 17.04.3 (current version on Ubuntu 17.10)


STEPS TO REPRODUCE

1. Export a PGP secret key from a third party
2. Import it into KGpg
3. Open the key properties dialogue, the trust level is "Unknown" as expected for imported keys.
4. Change trust level to Ultimate and click Apply or OK.


OBSERVED RESULT

KGpg and gpg heavily utilises CPU. Memory starts to slowly fill up until it's full. Then swap space starts to fill up until it's full. Then system crashes.

Tried multiple times with different keys. Created a large, 20GB swap space to see what happens and observed the same behaviour. 


EXPECTED RESULT

Just as in gpg command line editor, when trust command is issued, it should immediately change trust level on the selected key and complete operation swiftly.


SOFTWARE/OS VERSIONS

Linux: 

Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

KDE Plasma Version: 5.10.5

KDE Frameworks Version: 5.38.0

Qt Version: 5.9.1
Comment 1 Rolf Eike Beer 2018-11-23 07:19:49 UTC

*** This bug has been marked as a duplicate of bug 373909 ***