Registered Member
|
I was reading the help section and it mentioned that KMyMoney integrates with Kwallet? for password protection when opening?
I tried GPG but the saved encrypted file would not open. I would enter a password and it said I had a bad pass phrase. Just wondering how best to password protect my KMymoney file. |
Registered Member
|
It integrates with KWallet for saving the password of some online services.
To protect the file, it allows to encrypt it with GPG, but you must have your GPG agent running in order to function properly. You can read this thread for further info on the subject: viewtopic.php?f=69&t=34458
Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
|
Registered Member
|
Thanks, I read the thread and read the info in chapter 19. I'll do so again, because I'm getting the following message when I try to open the encrypted file, "Bad passphrase." The file won't open. Luckily, I saved under a new name before I tried out encryption. |
KDE Developer
|
Some things you can try. All commands are run inside a konsole window:
1) check that the file can be decrypted using GPG run the following command:
You should be asked a passphrase and see a long list (length depends on the amount of data in your file) of XML stuff. Just let it pass by. If you see it it's a good sign as the data is still present. 2) check that the GPG agent is up and running: run the following command:
you should see something like this:
If nothing shows up you have not started the GPG agent. You need to do that before you start KMyMoney. A simple sequence would be:
After that, you should be able to get the setting for GPG_AGENT_INFO as shown above. Now start KMyMoney from the same konsole and check that you can read your data file. In general, the gpg-agent should be started when KDE is starting. This varies from distro to distro, as it seems even between versions. If you don't find it, a last resort is to add the file .kde4/env/gpg-agent.sh with the following contents:
Don't forget to make that file executable. Then logoff and login again and the agent should be started from now on whenever you login using our wonderful KDE.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]