Summary: | KMail renders GPG error message into mail body | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Elias Probst <mail> |
Component: | crypto | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | montel, sknauss, winter |
Priority: | NOR | ||
Version: | 4.9.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim/25f0b41941e093071cf9cee624b24f30a71047a1 | Version Fixed In: | 4.12 |
Sentry Crash Report: | |||
Attachments: |
Screenshot showing the GPG error message rendered into the mail body
Screenshot showing the described error message in KDE 4.9.2 raw gpg signed mail to test/reproduce issue |
Created attachment 74865 [details]
Screenshot showing the described error message in KDE 4.9.2
It happened again using KDE 4.9.2.
See attached screenshot.
I need email test example to reproduce it. Created attachment 74885 [details]
raw gpg signed mail to test/reproduce issue
To reproduce it, any GPG signed message does the job.
I've attached the one I showed in the last screenshot.
To reproduce it, you need a keyserver in your list which cannot be resolved:
→ Open ~/.gnupg/gpg.conf
→ Set the 'keyserver' to 'hkp://test.foo'
→ Open the attached mail
Ok will look at it. Regards. For the moment I can't reproduce it but continue to investigate. CC: Sandro This occures, when using inline sined/encrypted messages. Only for inline messages kgpg is used to decrypt the message. The problem is that kgpg uses stdin/stdout for communication to kmail, so every failure etc. will be interpret as output. Git commit 25f0b41941e093071cf9cee624b24f30a71047a1 by Sandro Knauß. Committed on 15/10/2013 at 16:44. Pushed by knauss into branch 'master'. use gpgme instead of kpgp for decrypting PGP Inline messages REVIEW: 113348 Related: bug 247657, bug 291890 FIXED-IN: 4.12 M +200 -149 messageviewer/viewer/objecttreeparser.cpp http://commits.kde.org/kdepim/25f0b41941e093071cf9cee624b24f30a71047a1 |
Created attachment 69241 [details] Screenshot showing the GPG error message rendered into the mail body I had issues with GnuPG not being able to connect to a keyserver. The resulting error message was rendered into the message body of the signed mail instead of being displayed in the header where the signature information is shown or as an separate error dialog box. See the screenshot. The raw view of the mail looked correct, so I don't mistake this for an error message already being rendered into the original mail itself. Using KDE 4.8.0 and GnuPG 2.0.17.