Bug 228556

Summary: GPG Encryption not available
Product: [Applications] kmymoney Reporter: David Houlden <djhoulden>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: herr-schneider.m
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Houlden 2010-02-26 01:49:34 UTC
Version:           SVN 1095919 (using KDE 4.3.4)
OS:                Linux
Installed from:    Compiled From Sources

Just updated to latest SVN version and I can no longer save an encrypted file. In settings -> encryption, all options are greyed out. I cannot select the tick box for Use GPG encryption.
Comment 1 David Houlden 2010-02-26 01:56:38 UTC
Encryption works if I go back to SVN 1092051.
Comment 2 David Houlden 2010-02-28 00:47:27 UTC
This problem was caused by SVN commit 1093673 which changed kgpgfile.cpp. Since this change I cannot enable encryption and kmymoney does not seem to find my GPG key. The change was something to do with subkeys and I wonder if that is why I am seeing the problem. I use a RSA key with no subkeys.
Comment 3 Thomas Baumgart 2010-02-28 14:30:06 UTC
SVN commit 1097108 by tbaumgart:

Allow to use keys that do not have subkeys

BUG: 228556

 M  +17 -3     kgpgfile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1097108
Comment 4 David Houlden 2010-02-28 15:34:20 UTC
Sorry. Still not working for me. I still cannot enable encryption. Here is the output from gpg --edit-key

pub  1024R/E20B9AAD  created: 1996-05-09  expires: never       usage: SCEA
                     trust: ultimate      validity: ultimate

This shows that the key is valid and can be used for encryption (usage: SCEA).
Comment 5 Thomas Baumgart 2010-02-28 19:12:47 UTC
SVN commit 1097221 by tbaumgart:

Differentiate between public and secret key

BUG: 228556

 M  +5 -2      kgpgfile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1097221
Comment 6 Alvaro Soliverez 2010-04-02 18:17:53 UTC
*** Bug 233083 has been marked as a duplicate of this bug. ***