Registered Member
|
How do I enable encryption in KMyMoney v5.0.1? I'm using an up-to-date KDE Neon. The encryption option is greyed out. I suspect I'm missing a package but have no idea which one.
|
Registered Member
|
The contents below is part of the V 5.0.1 information contained in the extraction. I haven't been able to install 5.0.1 because I'm new to Linux and don't understand how to complete the install from the source code even after reading the steps and attempting it. Not sure if this info is helpful to you but I thought I'd post it. You're more knowledgeable than me as I see you're already running V 5.0.1. You'll find this information in the document labeled "README.Fileformats" after you extract the tarball.
KMyMoney README.Encryption Author: Thomas Baumgart Date : Jan 01 2005 This README covers the various data formats used to store the information managed with KMyMoney. ----------------------------------------------------------------------------- Data storage ----------------------------------------------------------------------------- KMyMoney stores your financial data in it's XML format. In general, files are compressed using the GZIP format. Thus the resulting file is not directly readable but can be made readable by the following commands: % mv xxx.kmy xxx.kmy.gz % gunzip xxx.kmy.gz Now xxx.kmy is a readable XML file. There is no need to compress the file again before you start KMyMoney again, because KMyMoney also reads the uncompressed format. Please expect the file to be compressed again after you save the file again from within the application. Warning: Do not modify the XML data directly unless you know exactly all the implications! Don't blame it on the KMyMoney developers if something does not work anymore after you've changed the file. In any case, keep a good backup of your files. ----------------------------------------------------------------------------- Encrypting your data to hide your financial status ----------------------------------------------------------------------------- If you want to save your data in a true encrypted fashion, you can use one of the many encrypted filesystems to store your data or use the builtin GPG support of KMyMoney. In order to use this support, you have to have GPG installed and working on your system for a key-pair you own. You can verify this by running the following test: % echo "This is a test" | gpg -ae -r <your-key-id-here> | gpg This should ask you for the passphrase of your secret key and display "This is a test" on the screen. Here's how this looks for me: ---------------------------------------------------------------------- thb@linux:~> echo "This is a test" | gpg -ae -r 0xb75dd3ba | gpg gpg: checking the trustdb gpg: checking at depth 0 signed=7 ot(-/q/n/m/f/u)=0/0/0/0/0/2 gpg: checking at depth 1 signed=1 ot(-/q/n/m/f/u)=6/0/0/0/1/0 gpg: next trustdb check due at 2010-01-02 gpg: 0xb75dd3ba: skipped: public key already present You need a passphrase to unlock the secret key for user: "Thomas Baumgart <thb@net-bembel.de>" 1024-bit ELG-E key, ID D1F83C2B, created 2001-06-23 (main key ID B75DD3BA) gpg: encrypted with 1024-bit ELG-E key, ID D1F83C2B, created 2001-06-23 "Thomas Baumgart <thb@net-bembel.de>" This is a test thb@linux:~> ---------------------------------------------------------------------- If this works for you, then you can turn on GPG support in the KMyMoney settings dialog. In the user id field, enter the respective information about to find the key. The LED symbol to the right of the key will tell you if a key is present for the data you entered. Note: Also substrings would match. Thus entering only 'thb' in my case already turns on the LED. Therefore, you should enter the full e-mail address or the hexadecimal id with a leading 0x. This would be enough to store your data encrypted with GPG. When you open such a file with KMyMoney it will ask you for a passphrase.i In case you use gpg-agent in the background, you will be only asked the first time you open the file and then only again after the cache timeout specified within gpg-agent. See the GPG documentation for more details on howto setup the gpg-agent. If you don't use the gpg-agent, you will be asked everytime you load an encrypted file into the engine. Saving into an encrypted file does not need a passphrase. |
Registered Member
|
Thank you mcarpino. That did it.
I had kpgp on my system which I expected KMyMoney to detect and walk me through setting up a Key Pair. I did not realize that I needed a Key Pair already generated. Once I had the new key and reloaded KMyMoney the encryption option was available. More knowledgeable? No, I suspect not. I'm presently using KDE Neon which provides KMyMoney v.5.0 in it's repositories. Prior to this I'd been using Manjaro and then Debian. My last attempt to compile KMyMoney v.4.8 did not go well. |
Registered Member
|
Hello,
I have a problem related to the encryption. I followed the instructions above (installed gnup, have gpg-agent, kgpg and generated keys) but I cannot see any encryption field in kmymoney under "settings -> configure KmyMoney". I have just installed it on KDE neon. I was using it on ubuntu and it was working fine. I remember there was the "encryption field" in settings and the list of keys. Am I missing any packet? Which one? Many thanks, Luca |
KDE Developer
|
Goto the settings dialog, select the plugins view. Look for the XML plugin (at the bottom of the list) and press the configure button of this plugin. This will give you access to the key selection. To enable the encryption, select 'Save as...', use the XML method and select the key. Hope that helps.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Many thanks.
I didn't know it was there. It would be good to signal it in the doc. In KDE Neon I had to install "Kleopatra". Without that packet, the XML plugin doesn't show the "setting" icon. Thanks, Luca |
KDE Developer
|
Done: See the resp. commit in the KDE Neon git repo.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft