[Bug 289728] Incorrect inline-openpgp encrypted message is generated

Daniel Hornung daniel.hornung at gmx.de
Thu Aug 16 15:44:52 BST 2012


https://bugs.kde.org/show_bug.cgi?id=289728

--- Comment #7 from Daniel Hornung <daniel.hornung at gmx.de> ---
(In reply to comment #6)
> Still valid in 4.9 ?
This will have to be answered by somebody with 4.9.  Still valid in 4.8.3, I
just tested it again.

> What is real bug ?
> Sorry I don't understand problem
As Stanislav wrote, create a message that sets the Content-Transfer-Encoding to
base64 (so, not 7bit), e.g. by putting only a single non-ascii character into
the message body ("ä" or "и" should be enough). Tell KMail to encrypt it, using
Inline OpenPGP (may be required, since Thunderbird/Enigmail may have problems
otherwise) and send the message to yourself.

As shown in the example, the message composer seems remove all non-base64
characters, thus rendering the message unreadable by the receiving program.

Example A: (working encryption)

Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (GNU/Linux)

hQIOA2EOZthMz4KpEAgA6MjhMzsjgDQlmAXB39JgvoAE0v2+1qN7hztb8rSMVrkD
GRislUNIedEW8htmiC1dOrm8GxOhuUTlcVeQhpz17uIFng377ZLbpER7FUma3hv9
....

Example B: (buggy mail composer)

Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="iso-8859-1"

BEGINPGPMESSAGEVersionGnuPGv2019GNU/LinuxhQIMAzReyxSL2tmNAQ//fM9gYpg/+Je96y4
qPkyb2jeFaQATSVy6yM1n0KZ/kZlttnHhe0joGFXNY7+gvvpjalj0wWSvVO7HfhYORpIir1qdPe6

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list