Bug 228556 - GPG Encryption not available
Summary: GPG Encryption not available
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 233083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-26 01:49 UTC by David Houlden
Modified: 2010-04-02 18:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***