[Kmymoney-devel] [kmymoney4] [Bug 319120] When i try to open an encrypted .kmy file the program does not ask me the passphrase and then prompt "could not open the file <filename>: bad passphrase"

allan agander93 at gmail.com
Thu May 2 16:52:11 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=319120

--- Comment #15 from allan <agander93 at gmail.com> ---
On Thu, 02 May 2013 13:28:18 +0000
Emanuele Andreola <emanuele.andreola at gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=319120
> 
> --- Comment #14 from Emanuele Andreola <emanuele.andreola at gmail.com>
> --- well, if i type:
> gpg-agent/gnupg -agentis installed
> it says
> bash: gpg-agent/gnupg: File o directory non esistente (not existing)
> 
> Anyway when i check
> sudo apt-get install gnupg-agent
> it says that gnupg-agent is installed and up-to-date, same output for
> pinentry-qt4
> 

OK, now you need to get it running, this first time.

>From Thomas -
"
If it does not run, then you need to start it during KDE startup. You can do
that by adding the following one-liner to ~/.kde[4]/env/gpg-agent.sh  (the
filename must end in .sh to be picked up by KDE) and make that file executable:

eval "$(gpg-agent --daemon)"

After that change you will have to logout of your KDE session and log back in
to execute it once."

But, you say you don't have gpg-agent.sh.  I found an example in 
http://userbase.kde.org/KMail/PGP_MIME/en, although, possibly a typo,
it calls it gpgagent.sh .  There are some other tips there that may be
useful.

Allan

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list