Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Getting KMail to decrypt gnupg messages

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
stig
Apprentice
Apprentice
User avatar
Posts: 289
Joined: Tue Sep 03, 2002 6:56 pm
Location: Bærum, Norway
Contact:
Contact stig
Website

Getting KMail to decrypt gnupg messages

  • Quote

Post by stig » Sun Apr 03, 2005 2:47 pm

When I try to open an encrypted message in KMail, the content of the mail is displayed in a blue frame, whit this text:

Code: Select all

Encrypted message (decryption not possible)
Reason: Crypto plug-in "openpgp" could not decrypt the data.
Error: Decryption failed
  Encrypted data not shown.
  End of encrypted message
I'm never asked to type in my passphrase.
KMail let's me send encrypted and signed messages, and they decrypt fine in mutt for instance.

[edit]I'm running 64-bit, if that has something to do with it.. [/edit]
Allting har en ende, pølsen den har to.
Top
jdgill0
Veteran
Veteran
User avatar
Posts: 1366
Joined: Tue Mar 25, 2003 10:12 pm
Location: Lexington, Ky -- USA

Re: Getting KMail to decrypt gnupg messages

  • Quote

Post by jdgill0 » Mon Apr 11, 2005 11:07 pm

stig wrote:When I try to open an encrypted message in KMail, the content of the mail is displayed in a blue frame, whit this text:

Code: Select all

Encrypted message (decryption not possible)
Reason: Crypto plug-in "openpgp" could not decrypt the data.
Error: Decryption failed
  Encrypted data not shown.
  End of encrypted message
I'm never asked to type in my passphrase.
KMail let's me send encrypted and signed messages, and they decrypt fine in mutt for instance.

[edit]I'm running 64-bit, if that has something to do with it.. [/edit]
I don't know if 64-bit is specific to your problem, but this typically happens when kmail tries to decrypt an email with an encrypted attachment. kmail can only do this if you have gpg-agent and pinentry setup, without these you can send/receive encrypted email for the body of the email only, i.e. no attachments.
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Jan 26, 2006 3:22 pm

This is really annoying. I can only think that there is something failing between the gpg-agent and KDE.

douglas 13740 0.0 0.0 2152 424 ? Ss 12:05 0:00 gpg-agent --daemon

So it's running, cool, although I've not been asked for my password.

KGpg when started claims that,
"The use of GnuPG Agent is enabled in GnuPG's configuration file (/home/douglas/.gnupg/gpg.conf).
However, the agent does not seem to be running. This could result in problems with signing/decryption.
Please disable GnuPG Agent from KGpg settings, or fix the agent.
And kmail has the annoying habit of claiming:
Encrypted message (decryption not possible)
Reason: Crypto plug-in "openpgp" could not decrypt the data.
Error: Bad passphrase

Encrypted data not shown.
and I never ever get asked for a passphrase.

I've got:
[ebuild R ] app-crypt/gpg-agent-1.9.19
[ebuild R ] app-crypt/pinentry-0.7.2-r2
[ebuild R ] app-crypt/gnupg-1.4.2-r3
and the relevant parts of KDE 3.5

God knows what's wrong with it. This is on a 32bit platform, ppc and x86, both exhibit the same problem.
Where there's open source , there's a way.
Top
jdgill0
Veteran
Veteran
User avatar
Posts: 1366
Joined: Tue Mar 25, 2003 10:12 pm
Location: Lexington, Ky -- USA

  • Quote

Post by jdgill0 » Thu Jan 26, 2006 11:06 pm

puggy,

When is the gpg-agent being started? If it's not started prior to starting KDE then KDE will not see or use it.
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Sat Jan 28, 2006 11:48 am

Thanks, that fixed it. I had thought executing the eval line once KDE was running would be enough, I'm not used to having to restart things. :-D
Where there's open source , there's a way.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic