[Bug 160881] New: PGP encryption of mails results in empty MIME-part
Onno Molenkamp
onno at flox.org
Tue Apr 15 21:53:19 BST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=160881
Summary: PGP encryption of mails results in empty MIME-part
Product: kmail
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: encryption
AssignedTo: kdepim-bugs kde org
ReportedBy: onno flox org
Version: (using Devel)
Installed from: Compiled sources
Compiler: gcc version 4.2.1 (SUSE Linux)
OS: Linux
When messages are encrypted using PGP, the MIME-part that's supposed to contain the encrypted mail stays empty, like this:
--nextPart1711057.zOAskV6OyZ
Content-Type: application/octet-stream
Content-Disposition: inline; filename="msg.asc"
--nextPart1711057.zOAskV6OyZ--
I think this is caused by a change in kdepim/libkleo/backends/qgpgme/qgpgmeencryptjob.cpp in SVN revision 784823. In Kleo::QGpgMEEncryptJob::doOperationDoneEvent a resetDataObjects() call was added, which would be fine if the code actually used the signal that's emitted with the retrieved results.
However, Kleo::QGpgMEEncryptJob::exec simply calls outData() again after doOperationDoneEvent is called, which means the resulting ciphertext will always be empty.
More information about the Kdepim-bugs
mailing list