You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

kankei71

Beginner

  • "kankei71" started this thread

Posts: 16

Location: Switzerland

  • Send private message

1

Wednesday, May 31st 2006, 9:32am

(solved) Problem with kmail and gpg-agent

Hi,

I have a problem to see incoming encrypted e-mails. Previously, I had set-up kmail tu use gpg and it worked fine, I could send encrypted mails end decrypt them.
Then, I installed gpg-agent to avoid typing my password every time and since, I'm unable to see encrypted e-mails.
I have a message that gpg-agent is unable to decrypt the message. Seems to be a problem of password (bad passphrase).
OK, gpg-agent is not configured well but now to configure it, I would need to install pinentry, here start the problem:

...
...
g++-3.3 -DQT_THREAD_SUPPORT -I/usr/X11R6/include -g -O2 -L/sw/lib -o pinentry-qt -L/usr/X11R6/lib -L/sw/lib/qt3/lib -Wl,--rpath -Wl,/sw/lib/qt3/lib -Wl,--rpath -Wl,/usr/X11R6/lib secqstring.o secqinternal.o secqlineedit.o pinentrydialog.o main.o secqlineedit.moc.o pinentrydialog.moc.o -lqt-mt -lSM -lICE -lXext -lX11 -lpthread ../pinentry/libpinentry-curses.a -lncurses -liconv ../pinentry/libpinentry.a ../assuan/libassuan.a ../secmem/libsecmem.a
ld: unknown flag: --rpath
make[2]: *** [pinentry-qt] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-pinentry-0.7.2-1
(Reading database ... 133391 files and directories currently installed.)
Removing fink-buildlock-pinentry-0.7.2-1 ...
Failed: phase compiling: pinentry-0.7.2-1 failed

Can someone help me to install pinentry and configure gpg-agent?

Thank you in advance.
iBook ppc g4 1.42 GHz
Xorg

This post has been edited 1 times, last edit by "kankei71" (Jun 10th 2006, 1:10am)


kankei71

Beginner

  • "kankei71" started this thread

Posts: 16

Location: Switzerland

  • Send private message

2

Wednesday, May 31st 2006, 10:02pm

RE: Problem with kmail and gpg-agent

Well, I am a bit further than before but still...

I would like to Configure GnuPG to use gpg-agent with kmail, following these instructions:

(
once. In all cases, add this to your ~/.gnupg/gpg.conf:

use-agent

Add a file ~/.gnupg/gpg-agent.conf with the following contents:

pinentry-program /usr/local/bin/pinentry-qt
no-grab
default-cache-ttl 1800

(replace the path to pinentry-qt depending on where the distribution installed it).

Before using gpg, you need to start gpg-agent:

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

I have installed pinentry with fink (fink install pinentry). The process installed pinentry-curse in /sw/bin, but not pinentry-qt.

Can someone help me to configure gpg-agent properly? I don't know what I can do now.

THX
iBook ppc g4 1.42 GHz
Xorg