[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


signing Kmail messages
by chandra on Friday 26/Jan/2007, @22:00
well, I have been trying to sign my sending messages with Kmail but it never worked. WITHOUT asking for any password in order to use appropriate keys, it is always showing the message "wrong pass-phrase". I have both the pinentry and pinentry-qt installed. I am using FC-6.

Please suggest me if there is some workaround!
Thanks!!
  Related Links
 ·   Articles on KDE Official News
 ·   Also by chandra
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: signing Kmail messages
by cm on Saturday 27/Jan/2007, @06:24
Two things that you should check:

1. Is the gpg agent started, and in a fashion that the KDE programs can "see" it?

The variable GPG_AGENT_INFO has to be set correctly, you can check this using the following command from a konsole window:
export | grep GPG_AGENT_INFO

You should see a line like this if everything is correct:
declare -x GPG_AGENT_INFO="/tmp/gpg-AhIqwl/S.gpg-agent:3526:1"

(the actual value is different every time the agent is started)

For a complete KDE session a good place to start the daemon is ~/.kde/env/gpg-agent.sh . Here are the contents of my file:

#!/bin/bash
eval "$(gpg-agent --daemon)"


2. You said that pinentry-qt was installed. But is the gpg-agent configured correctly so it finds it?

From my ~/.gnupg/gpg-agent.conf:
pinentry-program /usr/bin/pinentry-qt
[...]

Make sure the path you have in there is correct for your setup.
Typing "which pinentry-qt" may help you here.
[ Reply To This | View ]
  • Re: signing Kmail messages
    by pacesie on Monday 05/Feb/2007, @16:17
    pinentry-qt on my kubuntu edgy crashes ( a dialog "flashes" then disappears ). On googling this bug seems to be known for years but somehow remains. You may want to try
    pinentry-program /usr/bin/pinentry-gtk-2
    instead.
    [ Reply To This | View ]
  • Re: signing Kmail messages
    by pacesie on Monday 05/Feb/2007, @16:40
    My bad. On checking again, pinentry-qt works fine.
    [ Reply To This | View ]
    • Re: signing Kmail messages
      by cm on Tuesday 06/Feb/2007, @01:58
      ... and has for years for me. I had problems back when the GPG support in KMail was still in early development. But not now.
      [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Ahhh, the whole screen feels bigger now." -- Waldo Bastian
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]