Summary: | "wrong passphrase" while opening kmymoney | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ösel <spooning> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | grave | CC: | onet.cristian, ostroffjh |
Priority: | NOR | Keywords: | triaged |
Version: | 4.7.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ösel
2015-01-05 23:08:17 UTC
Were any of these files actually saved with encryption? I think the problem might be different in each case. You can check whether the file is actually encrypted or not by opening a command prompt, going to the directory where the file is located, and typing "file myMoneyFile.kmy". A non encrypted file is "gzip comressed data" but an encrypted file will be "PGP message Public-Key Encrypted". Also, can you please clarify the exact order of events. If you just type kmymoney, it will try to open the last file it had open. I assume this is when you get the error, and KMyMoney is still running, but with no file open? If so, select the menu Settings/Configure KMyMoney and select the Encryption tab to confirm wheether or not you have encryption turned on. Do you use encryption for anything else? Are you haveing any other problems related to use of gnupg keys? Hi, all kmy-files are saved with the encryption. file ***.kmy: PGP message If I open KMyMoney, I will directly get the error message, because the KMyMoney tried to start the last file. This is correct. When I click "OK" on the error message, the software is still running with no open file. Correct. I checked the encryption and it is still running. As I can remember, I'm not using the encryption for anything else. Sorry. Can you check if your gpg-agent is running? Simply open a Konsole and issue the following command: thb@thb-nb:~$ echo $GPG_AGENT_INFO /tmp/gpg-fpUXIg/S.gpg-agent:6145:1 This is how it shows here. Without the agent running, KMyMoney cannot use GPG encryption. Workaround to get to your data: ---------------------------------------- Decrypt the file on the cli and store it in an XML file. gpg -d oesel.kmy > oesel.xml kmymoney oesel.xml This is just to get to your data. Be aware, that KMyMoney tries to save encrypted again, as information about usage of encryption is contained inside the file. my gpg-agent is running all the time /tmp/gpg-JgiGsD/S.gpg-agent:1943:1 Thanks a lot for the workaround to get my data back and this works fine. But I ask myself, where is the problem, because I really want to save my files again encrypted. Even if gpg-agent is running it's not a guarantee of the fact that GPG is properly configured. I would go trough this wiki page https://wiki.archlinux.org/index.php/GnuPG to check that GnuPG is properly working on the system. Do you have a pinentry program configured? https://wiki.archlinux.org/index.php/GnuPG#pinentry What does the KMyMoney 'Encryption' settings page say? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |