Announcement

Collapse
No announcement yet.

Kmail never prompts for key passphrase

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kmail never prompts for key passphrase

    Hi all,

    I want to send/recieve signed and encryped email using kmail. I have installed openpgp and selected my keys under Cryptography in my default identity. I have pinentry(-qt/-qt4/-x11) installed. kgpg and gpg-agent are running.

    The problem is, when I try to send a signed email message, all I get is an error saying "bad passphrase", but I never get to enter the passphrase in the first place. With all other password requests, kwallet pops up normally.

    I googled around, and found that this problem has existed for some time, but I found no solutions. Does anyone here know what I should do?

    Thanks for any help.

    #2
    Re: Kmail never prompts for key passphrase

    bump

    Comment


      #3
      Re: Kmail never prompts for key passphrase

      I was having the same problem. I did a few things that seem to have worked at least for signing. But it didn't work until I rebooted (you may only have to logoff and logon).

      created a file In ~/.gnupg called gpg-agent.conf and entered the line:

      pinentry-program /usr/bin/pinentry-qt


      In ~/.gnupg/gpg.conf I uncommented the default key and entered my own key ID.
      I also have uncommented "use-agent"

      Comment


        #4
        Re: Kmail never prompts for key passphrase

        Let us know if that works.

        Comment


          #5
          Re: Kmail never prompts for key passphrase

          Hi!

          @bobbysan:
          Your suggestion did not work here.
          What I did to get this pass-phrase working was, that I edited ~/.gnupg/gpg.conf and put a
          Code:
          use-agent
          in the end of that file.

          BTW: There have been some files that were missing in the default kubuntu installation that I had to install too:
          Code:
          sudo apt-get install gnupg-agent gnupg2 pinentry-qt kgpg kleopatra
          I am wondering why those files aren't installed by default :-|

          Hope that I could help, with my feedback

          K.

          Comment

          Working...
          X