LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2008, 04:46 PM   #1
njdube
Member
 
Registered: Mar 2006
Posts: 46

Rep: Reputation: 15
Kmail Can't Understand GPG Signed/Encrypted Email from Thunderbird


For some reason Kmail is unable to understand signed/encrypted messages from Thunderbird. Here is the error message I get in kmail.

######################
Encrypted message
Message was signed with unknown key.
The validity of the signature cannot be verified.
Status: Error: Signature not verified Hide Details
No Audit Log available
test

End of signed message
End of encrypted message
######################

In Thunderbird I get [Decrypted message; Good signature from...]

So it seems Thunderbird is working fine.

I was testing both kmail and thunderbird by sending my self signed and encrypted email with two email accounts. I wanted to make sure I had everything setup correctly. Both programs will let me "read" the emails. Thunderbird seems to validate my keys just fine. Its when I send my self an email from Thunderbird and read it in Kmail that Kmail doesn't recognize the key even though it's my key on my system.

Now if I send my self an email from kmail and read it in kmail it works just fine.

######################
Encrypted message
Signature is valid. Show Details
test
End of signed message
End of encrypted message
######################
 
Old 08-16-2008, 03:45 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Do you need to load the key into KMail instead of just having it on your system?
 
Old 08-16-2008, 04:09 PM   #3
njdube
Member
 
Registered: Mar 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by estabroo View Post
Do you need to load the key into KMail instead of just having it on your system?
I'm not sure I know what you mean. My keys where made with KGpg, which is just a GUI front end to GnuPG. The keys are stored under ~/.gnupg which is the same place that Thunderbird can read or write keys. From what I can tell it looks like Enigmail (the software in Thunderbird used for handling keys) is formating the headers in the mail in a way that kmail has trouble understanding.

If you give me your GPG public key (if you have one) I can send you a signed and encrypted email from both thunderbird and kmail so you can see the difference in the headers.

Last edited by njdube; 08-16-2008 at 04:17 PM.
 
Old 08-16-2008, 05:10 PM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I was thinking more along the lines of what you have to do with pkcs keys where you have to load them into each app that is using them.
 
Old 08-16-2008, 07:07 PM   #5
njdube
Member
 
Registered: Mar 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by estabroo View Post
I was thinking more along the lines of what you have to do with pkcs keys where you have to load them into each app that is using them.
I'm not sure how to explain it in words so I'll take a screen shot of how both programs interact with GPG.

http://picasaweb.google.com/NJDube/M...71100131572658
http://picasaweb.google.com/NJDube/M...71101783189186
 
Old 09-19-2008, 03:08 AM   #6
Uniks
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Hello,

I've the same problem...
Keys are imported and all others staff works fine...
ha.. When mail is only signed there is no problem. The problem is with mails which are signed and encrypted. Then Kmail can't understand gpg headers and in the kmail I can see:
"Encrypted message
Message was signed with unknown key.
The validity of the signature cannot be verified.
Status: Error: Signature not verified Hide Details
No Audit Log available"

Any known solution ?

Best regards
Krzysztof
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Securing Your Email With Thunderbird and GPG: a Crashcourse Antonius_Block LinuxAnswers Discussion 7 02-26-2013 07:59 PM
Email not downloading (thunderbird + kmail) fly_i Linux - Software 2 06-26-2007 07:06 AM
Need a new email System: Thunderbird and KMail does not work dragonhawk7 Linux - Newbie 5 05-02-2006 01:33 AM
Kmail doesn't allow gpg encrypted emails steve1401 Debian 5 02-07-2005 05:07 PM
Email Kmail Thunderbird and aliases Bigglesworth Linux - General 11 01-15-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration