You are not logged in.

trusq254

Beginner

  • "trusq254" started this thread

Posts: 6

Location: Québec, Canada

  • Send private message

1

Wednesday, January 17th 2007, 8:01pm

KPgp warning message on start-up

Every time I start a new session using KDE I get the following warning message in a pop-up window:

"The use of GnuPG Agent is enabled in GnuPG's configuration file (/home/myname/.gnupg.gnupg.conf)
However, the agent does not seem to be running. This could result in problems with signature/decryption.
Please disable GnuPG Agent from KGpg settings, or fix the agent."

If I want to keep the ability to encript and/or sign messages, what should I do? Where should I go to disable GnuPG Agent from KGpg settings, or fix the agent ?

My environment is Slackware 11.0, Linux 2.6.13.17, and KDE 3.5.4. I also installed FRG Gnome 2.16

Thanks all of you

Serge

2

Wednesday, January 24th 2007, 1:11am

RE: KPgp warning message on start-up

try this:
from http://kontact.kde.org/kmail/kmail-pgpmime-howto.php#gnupg

Before using gpg, you need to start gpg-agent:
eval "$(gpg-agent --daemon)"
--cut--
Starting with KDE-3.3 you can add the gpg-agent command in ~/.kde/env/gpgagent.sh (the filename doesn't matter). The contents of ~/.kde/env/ is sourced by startkde.

so look at your ~/.kde/env dir (or create it if there isn't) for gpgagent.sh and add:
eval "$(gpg-agent --daemon)"
to it. If you don't have a gpgagent.sh in ~/.kde/env create it and make it readable and executable.
hope it helps...

trusq254

Beginner

  • "trusq254" started this thread

Posts: 6

Location: Québec, Canada

  • Send private message

3

Wednesday, January 24th 2007, 5:44pm

RE: KPgp warning message on start-up

First, I thank you for your reply to my request.

I have created the ~/.kde/env/gpgagent.sh as suggested, but the same message still shows at startup.


Further investigations showed me that:
1- I don't even have a gpg-agent command as per a "locate gpg-agent" command;
2- There is two gpg related packages installed on my system: gnupg-1.4.6-i486-1_slack11.0 initially installed with the global Slackware installation, and gpgme-1.1.2-i486-2frg Installed afterward from a non stable version of Freerock Gnome 2.16;
3- gpg-agent is part of a gpg2 package which would be a successor to Gnupg or Gpg.

Should I uninstall any or both of Gnupg and Gpg, or install gpg2 (and gpg-agent) in addition to the the two former packages, or comment the "use gpg-agent" in the gnupg.gnupg.conf file?

I really appreciate your help,
Serge

4

Wednesday, January 24th 2007, 7:19pm

RE: KPgp warning message on start-up

unfortunally i 'm not a slack user. i had the same error on mandriva and debian and creating files and directory as suggested worked...i'm sorry i can't help you.
bye