https://bugs.kde.org/show_bug.cgi?id=401099
Bug ID: 401099 Summary: When trusting an imported secret key, KGpg fills all memory and swap space and never completes the operation Product: kgpg Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: k...@opensource.sf-tec.de Reporter: marek...@protonmail.com Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.