Version: latest SVN (using KDE 4.3.2) Compiler: GCC 4.4.1 OS: Linux Installed from: Compiled From Sources I have problems opening my gpg encrypted file in 2 among my 3 machines. When I type kmymoney myfile.kmy, a dialog show up complaining "The following error was encountered while open file myfile.kmy, bad passphrase". For your information: - KMM 1.0.2 has no problem opening the file. A dialog would appear, asking for password. This dialog doesn't show up in KMM 3.96-latestSVN. It immediately says bad passphrase (but I didn't have chance to enter anything!). - I use 'gpg -d myfile.kmy > myfile.xml'. KMM 3.96 can open the XML file easily. When I 'save as' this XML file to a new mynewfile.kmy with gpg encryption. KMM cannot open the newly created file. - I delete my .kde directory just to start fresh, the problem persists.
That error message usually means that you don't have gpg-agent installed on your system or it's pinentry is not configured properly. See the following post http://brondsema.net/blog/index.php/2007/02/06/keychain_gpg_agent_pinentry_problems
Thanks a lot! It indeed has something to do with mis-configured gpg-agent. I installed pinentry-qt, created gpg-agent.conf and added use-agent option to gpg.conf. Now KMM opens the encrypted file correctly. Still it would be nice if KMM could give some error message about problems with gpg-agent.