Bug#859376: decoding of quoted-printable text

Kurt Roeckx kurt at roeckx.be
Sun Apr 2 22:04:18 UTC 2017


Package: libmime-tools-perl, evolution
Version: 5.508-1

Hi,

In devotee I use: my $data = $entity->parts(0)->as_string

In some cases that comes back with a "=" at the end of it.
The example I have starts with:
Content-Type: multipart/signed; micalg="pgp-sha256";
        protocol="application/pgp-signature"; boundary="=-foo"

And ends with:

bar
--=-foo

And the last line I get back is "bar="

This the later results in getting a bad signature, and if I remove
the "=" I get a valid signature.

All other mails I've seen had an empty line before the boundary
marker. I have no idea if that's correct or not. I know I can
verify that signature using mutt, but maybe mutt has some
workaround for it. The mail in question was generated by
evolution.


Kurt



More information about the pkg-perl-maintainers mailing list